/* ==========================================================================
   Skyddsmasken — stilmall
   ========================================================================== */

:root {
  --night: #0b1f23;
  --deep: #102b30;
  --deep-2: #15363b;
  --ink: #10292d;
  --muted: #4c5f5b;
  --paper: #f4f3ec;
  --paper-hi: #fbfbf7;
  --sage: #e6e9df;
  --line: rgba(16, 41, 45, .14);
  --line-dark: rgba(226, 236, 220, .16);
  --accent: #e2e67a;
  --accent-hover: #ecef9d;
  --olive: #56652e;
  --olive-soft: #7f8f57;
  --on-dark: #f4f3ec;
  --on-dark-muted: #b6c6c0;

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 11vw, 152px);
  --header-h: 76px;
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Bas
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.375rem, 5vw, 4.125rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

h1 em,
h2 em {
  display: inline-block;
  font-size: 1.06em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

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

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

.hero :focus-visible,
.site-header :focus-visible,
.section--dark :focus-visible,
.contact-copy :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 40px);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* Typografiska småelement
   ========================================================================== */

.eyebrow,
.overline,
.section-index {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.overline {
  color: var(--olive);
}

.section-index {
  display: flex;
  align-items: center;
  color: var(--muted);
}

.section-index span {
  display: inline-flex;
  align-items: center;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
}

.section-index span::after {
  content: "";
  width: 32px;
  height: 1px;
  margin: 0 14px;
  background: currentColor;
  opacity: .5;
}

.section-index + h2,
.overline + h2 {
  margin-top: 26px;
}

h2 em {
  color: var(--olive-soft);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.body-copy {
  color: var(--muted);
}

/* Knappar och länkar
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font: 700 .9375rem/1 var(--font-body);
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}

.button .icon {
  transition: transform .25s var(--ease);
}

.button:hover .icon {
  transform: translate(2px, -2px);
}

.button--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1rem;
}

.button--accent {
  background: var(--accent);
  color: var(--ink);
}

.button--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 30px -12px rgba(226, 230, 122, .55);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  background: #1d4247;
}

.button--dark .icon {
  color: var(--accent);
}

.text-link {
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color .2s;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.text-link .icon {
  margin-left: .4em;
  vertical-align: -.1em;
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 10px 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 243, 236, .35);
  transition: border-color .2s;
}

.link-quiet:hover {
  border-color: var(--accent);
}

/* Sidhuvud
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  transition: background-color .3s, box-shadow .3s;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 31, 35, .96);
  box-shadow: 0 1px 0 var(--line-dark);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
  transition: transform .6s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(45deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.brand-text b {
  color: var(--accent);
}

.brand-text small {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .72;
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.button) {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.site-nav a:not(.button):hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a:not(.button):hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.header-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
}

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(660px, min(100svh, 960px));
  padding-top: calc(var(--header-h) + 48px);
  overflow: hidden;
  background: var(--night);
  color: var(--on-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  animation: hero-zoom 2.6s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 35, .95) 0%, rgba(11, 31, 35, .84) 28%, rgba(11, 31, 35, .38) 56%, rgba(11, 31, 35, 0) 78%),
    linear-gradient(0deg, rgba(11, 31, 35, .9) 0%, rgba(11, 31, 35, 0) 38%),
    linear-gradient(180deg, rgba(11, 31, 35, .65) 0%, rgba(11, 31, 35, 0) 22%);
}

.hero-content {
  padding-bottom: clamp(56px, 7vw, 104px);
}

.hero-content > * {
  animation: rise .9s var(--ease) both;
}

.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d6e1dc;
}

.eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2.8s ease-out infinite;
}

.hero h1 {
  max-width: 10ch;
  margin: 24px 0 28px;
  font-size: clamp(3.5rem, 8.6vw, 7.5rem);
  font-weight: 700;
  line-height: .94;
  letter-spacing: -.05em;
}

.hero h1 em {
  color: var(--accent);
}

.hero-lead {
  max-width: 34rem;
  color: #dbe4df;
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}

.hero-bar {
  border-top: 1px solid var(--line-dark);
  background: rgba(11, 31, 35, .5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: rise 1s .35s var(--ease) both;
}

.hero-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin: 0;
}

.hero-facts > div {
  padding: 24px 40px 24px 0;
}

.hero-facts > div + div {
  padding-left: 40px;
  border-left: 1px solid var(--line-dark);
}

.hero-facts dt {
  margin-bottom: 8px;
  color: var(--on-dark-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}

.hero-credit {
  max-width: 17rem;
  color: var(--on-dark-muted);
  font-size: .75rem;
  line-height: 1.45;
  text-align: right;
}

/* Sektioner
   ========================================================================== */

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
}

.section--sage {
  background: var(--sage);
}

.section--dark {
  background: var(--deep);
  color: var(--on-dark);
}

.section--dark .section-index,
.section--dark .lead {
  color: var(--on-dark-muted);
}

.section--dark .section-index span,
.section--dark .overline,
.section--dark h2 em,
.section--dark .text-link {
  color: var(--accent);
}

/* Fotografier från den civila utbildningen */

.training-gallery {
  background: var(--paper-hi);
}

.training-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 56px;
}

.training-photo {
  min-width: 0;
  margin: 0;
}

.training-photo--wide {
  grid-column: span 2;
}

.training-photo > a {
  position: relative;
  display: block;
  height: clamp(280px, 33vw, 440px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sage);
}

.training-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease);
}

.training-photo a:hover img {
  transform: scale(1.025);
}

.photo-expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 100px;
  background: rgba(11,31,35,.78);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.training-photo figcaption {
  padding-top: 14px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}

.training-photo figcaption > span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.gallery-note {
  margin-top: 32px;
  color: var(--muted);
  font-size: .75rem;
}

.photo-viewer {
  width: min(1200px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 52px 24px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--on-dark);
  box-shadow: 0 24px 100px rgba(0,0,0,.4);
}

.photo-viewer::backdrop {
  background: rgba(5,15,17,.88);
}

body.photo-open {
  overflow: hidden;
}

.photo-viewer figure {
  margin: 0;
}

.photo-viewer-image {
  width: 100%;
  height: min(70svh, 850px);
  object-fit: contain;
}

.photo-viewer figcaption {
  margin-top: 16px;
  color: var(--on-dark-muted);
  font-size: .9375rem;
  text-align: center;
}

.photo-viewer button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}

.photo-viewer button:hover {
  background: var(--deep-2);
}

.photo-viewer :focus-visible {
  outline-color: var(--accent);
}

.photo-viewer-close {
  position: absolute;
  top: 6px;
  right: 12px;
}

.photo-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

[data-photo-count] {
  color: var(--on-dark-muted);
  font-size: .875rem;
}

/* 01 Utbildningen */

.intro-head {
  grid-column: 1 / span 5;
}

.intro-body {
  grid-column: 7 / span 6;
  padding-top: 52px;
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.3vw, 1.875rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -.02em;
}

.statement + .body-copy {
  margin-top: 24px;
  max-width: 34rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(64px, 8vw, 112px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 40px 40px 0 0;
}

.pillar + .pillar {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.pillar-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--olive);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.pillar p {
  color: var(--muted);
  font-size: 1rem;
}

/* 02 Så går det till */

.split-head {
  align-items: end;
  row-gap: 24px;
}

.split-head > :first-child {
  grid-column: 1 / span 7;
}

.split-head > :last-child {
  grid-column: 8 / span 5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(28px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-hi);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(16, 41, 45, .45);
}

.step-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.step-num {
  color: var(--olive-soft);
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-style: italic;
  line-height: 1;
}

.step-kicker {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.step h3 {
  padding-top: 88px;
  font-size: 1.5rem;
  letter-spacing: -.025em;
}

.step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  padding: 7px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
}

.step--featured {
  border-color: transparent;
  background: var(--deep);
  color: var(--on-dark);
}

.step--featured .step-num {
  color: var(--accent);
}

.step--featured .step-kicker,
.step--featured p {
  color: var(--on-dark-muted);
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.callout p {
  max-width: 44rem;
  color: var(--muted);
}

.callout strong {
  color: var(--ink);
}

/* 03 Utrustningen */

.equipment {
  background: radial-gradient(ellipse 60% 70% at 72% 38%, #17393e 0%, var(--deep) 70%);
}

.equipment-grid {
  align-items: center;
  row-gap: 48px;
}

.equipment-copy {
  grid-column: 1 / span 5;
}

.equipment-copy .lead {
  max-width: 30rem;
  margin-top: 24px;
}

.specs {
  margin: 36px 0;
  border-top: 1px solid var(--line-dark);
}

.specs > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}

.specs dt {
  color: var(--on-dark-muted);
}

.specs dd {
  margin: 0;
  font-weight: 600;
}

.equipment-figure {
  grid-column: 6 / -1;
  margin: 0;
}

.equipment-figure img {
  width: 100%;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 4%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 4%, #000 90%, transparent);
  mask-composite: intersect;
}

.equipment-figure figcaption {
  color: var(--on-dark-muted);
  font-size: .8125rem;
  text-align: center;
}

.filter-card {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px clamp(20px, 3vw, 40px);
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
}

.filter-intro {
  grid-column: 1 / span 5;
}

.filter-intro h3 {
  margin: 18px 0 14px;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  letter-spacing: -.03em;
}

.filter-intro > p:not(.overline):not(.filter-code) {
  max-width: 28rem;
  color: var(--on-dark-muted);
}

.filter-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 28px 0;
}

.filter-code span {
  color: var(--on-dark-muted);
  font-size: .875rem;
}

.filter-code strong {
  padding: 8px 14px;
  border: 1px solid rgba(226, 230, 122, .35);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.0625rem;
  letter-spacing: .06em;
}

.filter-legend {
  grid-column: 7 / -1;
}

.filter-classes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.filter-classes li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: .9375rem;
}

.filter-classes b {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 800;
}

.filter-classes b::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}

.filter-note {
  margin-top: 24px;
  color: var(--on-dark-muted);
  font-size: .875rem;
  line-height: 1.6;
}

/* 04 Om oss */

.about-grid {
  align-items: stretch;
  row-gap: 48px;
}

.about-copy {
  grid-column: 1 / span 6;
}

.about-copy .lead {
  margin-top: 28px;
  color: var(--ink);
}

.about-copy .body-copy {
  max-width: 34rem;
  margin-top: 16px;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  flex: none;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-person-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.contact-person-role {
  color: var(--muted);
  font-size: .9375rem;
}

.contact-person-role a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.about-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 8 / -1;
  min-height: 440px;
  padding: clamp(28px, 3.5vw, 48px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sage);
}

.badge {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(20px, 3vw, 36px);
  width: clamp(120px, 12vw, 152px);
  height: auto;
  color: var(--olive);
}

.badge text {
  fill: currentColor;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.badge use {
  color: var(--olive-soft);
}

.badge-ring {
  transform-origin: 100px 100px;
  animation: spin 40s linear infinite;
}

.about-claim {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
}

.about-claim em {
  display: block;
  color: var(--olive-soft);
  font-size: 1.06em;
}

/* Kontakt */

.contact {
  overflow: hidden;
  background: var(--deep);
  color: var(--on-dark);
}

.contact-mark {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 520px;
  height: 520px;
  color: var(--accent);
  opacity: .028;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  align-items: start;
  row-gap: 48px;
}

.contact-copy {
  grid-column: 1 / span 5;
}

.contact .overline,
.contact h2 em {
  color: var(--accent);
}

.contact-copy .lead {
  margin-top: 24px;
  color: var(--on-dark-muted);
}

.contact-direct {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.contact-direct li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-direct span {
  color: var(--on-dark-muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-direct a {
  overflow-wrap: anywhere;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s var(--ease);
}

.contact-direct a:hover {
  background-size: 100% 1px;
}

.contact-direct .contact-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.contact-form {
  grid-column: 7 / -1;
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: .9375rem;
  font-weight: 600;
}

.optional {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #c7cec4;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.field select {
  padding-right: 42px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2310292d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
  cursor: pointer;
}

.field textarea {
  min-height: 140px;
  line-height: 1.55;
  resize: vertical;
}

.field ::placeholder {
  color: #687773;
}

.field :is(input, select, textarea):hover {
  border-color: #a5b0a2;
}

.field :is(input, select, textarea):focus {
  border-color: var(--olive);
  outline: none;
  box-shadow: 0 0 0 4px rgba(127, 143, 87, .22);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.form-hint {
  flex: 1 1 14rem;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.5;
}

.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--olive);
  border-radius: var(--radius);
  background: var(--sage);
  font-size: .9375rem;
}

.form-status a {
  font-weight: 600;
}

/* Sidfot
   ========================================================================== */

.site-footer {
  padding-block: 72px 32px;
  background: var(--night);
  color: var(--on-dark-muted);
  font-size: .9375rem;
}

.site-footer a {
  text-decoration: none;
  transition: color .2s;
}

.site-footer a:hover {
  color: var(--on-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand .brand {
  color: var(--on-dark);
}

.footer-brand p {
  max-width: 24ch;
  margin-top: 20px;
}

.footer-title {
  margin-bottom: 16px;
  color: var(--on-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  font-size: .8125rem;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
}

/* Rörelse
   ========================================================================== */

.reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
}

@keyframes pulse {
  0% {
    opacity: .7;
    transform: scale(.6);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsivt
   ========================================================================== */

@media (max-width: 1100px) {
  .site-nav a:not(.button) {
    padding-inline: 10px;
    font-size: .875rem;
  }

  .hero-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 20px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(4, auto);
  }

  .hero-facts > div {
    padding-right: 28px;
  }

  .hero-facts > div + div {
    padding-left: 28px;
  }

  .hero-credit {
    max-width: none;
    padding-top: 14px;
    text-align: left;
  }

  .filter-intro,
  .filter-legend {
    grid-column: 1 / -1;
  }

  .equipment-copy {
    grid-column: 1 / span 6;
  }

  .equipment-figure {
    grid-column: 7 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .js .nav-toggle {
    position: relative;
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-left: auto;
    place-items: center;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), background-color .2s;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    transform: translateY(-6px);
  }

  .nav-toggle-bars::after {
    transform: translateY(6px);
  }

  .is-open .nav-toggle-bars {
    background: transparent;
  }

  .is-open .nav-toggle-bars::before {
    transform: rotate(45deg);
  }

  .is-open .nav-toggle-bars::after {
    transform: rotate(-45deg);
  }

  .site-nav {
    display: none;
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100svh - var(--header-h));
    padding: 8px var(--gutter) 28px;
    overflow-y: auto;
    background: var(--night);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }

  .js .is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .3s var(--ease);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a:not(.button) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.02em;
    opacity: 1;
  }

  .site-nav a:not(.button)::after {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    min-height: 56px;
    margin-top: 24px;
  }

  .header-cta {
    margin-left: auto;
  }

  .js .header-cta {
    display: none;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-facts > div,
  .hero-facts > div + div {
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .hero-facts > div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line-dark);
  }

  .hero-facts dd {
    white-space: normal;
  }

  .intro-head,
  .intro-body,
  .split-head > :first-child,
  .split-head > :last-child,
  .equipment-copy,
  .equipment-figure,
  .about-copy,
  .about-card,
  .contact-copy,
  .contact-form {
    grid-column: 1 / -1;
  }

  .intro-body {
    padding-top: 32px;
  }

  .pillars,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar,
  .pillar + .pillar {
    padding: 32px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .step {
    min-height: 0;
  }

  .step h3 {
    padding-top: 40px;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-card {
    min-height: 360px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .training-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin-top: 36px;
  }

  .training-photo > a {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .training-photo--wide > a {
    aspect-ratio: 4 / 3;
  }

  .training-photo:nth-child(6) {
    grid-column: span 2;
  }

  .training-photo:nth-child(6) > a {
    max-height: 540px;
  }

  .photo-viewer {
    padding-inline: 12px;
  }

  .photo-viewer-image {
    height: 60svh;
  }

  .hero {
    justify-content: flex-start;
    min-height: 0;
    padding-top: 0;
  }

  .hero-media {
    position: relative;
    inset: auto;
    height: calc(var(--header-h) + 64vw);
    max-height: 520px;
  }

  .hero-media img {
    object-position: 65% 40%;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, var(--night) 0%, rgba(11, 31, 35, .55) 28%, rgba(11, 31, 35, 0) 55%),
      linear-gradient(180deg, rgba(11, 31, 35, .75) 0%, rgba(11, 31, 35, 0) 30%);
  }

  .hero-content {
    margin-top: -36px;
    padding-bottom: 48px;
  }

  .hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions {
    margin-top: 32px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-bar {
    background: var(--night);
  }


  .filter-classes {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs > div {
    grid-template-columns: 7.5rem 1fr;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-footer .button {
    width: 100%;
  }

  .contact-direct li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-mark {
    display: none;
  }
}
