/*
 * Kvanteteknologi.com – felles stilark
 * Redaksjonelt uttrykk: avis-/tidsskriftstypografi, linjer i stedet for kort,
 * blått som eneste aksentfarge.
 */

/* Fonter ligger lokalt (assets/fonts) – ingen kall til Google. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fbfbf8;
  --paper-2: #f0f0eb;
  --ink: #111214;
  --ink-2: #3b3d42;
  --muted: #6a6c72;
  --rule: #111214;
  --hair: #d4d4cd;
  --accent: #1f5fbf;
  --navy: #00205b;
  --link: #00205b;
  --mark: #fff1a8;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 3vw, 32px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e0f11;
    --paper-2: #17181b;
    --ink: #ecebe6;
    --ink-2: #c3c2bc;
    --muted: #8e8d88;
    --rule: #ecebe6;
    --hair: #2e3034;
    --accent: #7aa7ff;
    --navy: #9db8ff;
    --link: #9db8ff;
    --mark: #4a4310;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0e0f11;
  --paper-2: #17181b;
  --ink: #ecebe6;
  --ink-2: #c3c2bc;
  --muted: #8e8d88;
  --rule: #ecebe6;
  --hair: #2e3034;
  --accent: #7aa7ff;
  --navy: #9db8ff;
  --link: #9db8ff;
  --mark: #4a4310;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

a {
  color: var(--link);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-stretch: 85%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  letter-spacing: -0.025em;
  max-width: 18ch;
}

h2 {
  font-weight: 750;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

h3 {
  font-weight: 700;
  font-size: 1.1rem;
  font-stretch: 90%;
}

p {
  margin: 0 0 1em;
}

strong {
  font-weight: 650;
}

/* ---------- Topp ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-top: 6px solid var(--accent);
  border-bottom: 1px solid var(--rule);
}

.nav-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.logo {
  font-family: var(--f-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.logo::after {
  content: ".com";
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 0.62em;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  margin-left: 0.1em;
}

.logo:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-left: 1px solid var(--hair);
}

.nav-links a:first-child {
  border-left: 0;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-tools {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
}

.theme-toggle {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair);
  border-radius: 0;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--ink);
}

.theme-toggle::before {
  content: "\25D0  ";
  color: var(--accent);
}

.menu-toggle {
  display: none;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

/* ---------- Ingress / sidetopp ---------- */

.hero,
.page-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.breadcrumb,
.eyebrow,
.dateline {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumb {
  margin: 0 0 1.5rem;
}

.breadcrumb a {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "■ ";
}

.lede,
.hero > .hero-main > p {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
}

.hero-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
  max-width: 60ch;
}

.hero-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.98rem;
}

.hero-list li::before {
  content: "→ ";
  font-family: var(--f-mono);
  color: var(--accent);
}

/* Innholdsfortegnelse ved siden av forsidens ingress */
.hero-side {
  border-top: 3px solid var(--rule);
  align-self: start;
}

.hero-side h2 {
  font-family: var(--f-mono);
  font-stretch: 100%;
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0.7rem 0 0.4rem;
}

.toc {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--hair);
}

.toc a {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0 0.4rem;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--ink);
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--accent);
  padding-top: 0.2rem;
}

.toc strong {
  font-family: var(--f-display);
  font-stretch: 85%;
  font-size: 1.1rem;
  font-weight: 700;
}

.toc span {
  font-size: 0.9rem;
  color: var(--muted);
}

.toc a:hover strong {
  color: var(--accent);
}

/* ---------- Hovedinnhold ---------- */

main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
  counter-reset: sec;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.section-card {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--rule);
}

.content-grid > div > .section-card:first-child,
main > .section-card:first-child,
.section-grid > .section-card:nth-child(-n + 2) {
  border-top: 0;
}

.section-card.full {
  grid-column: 1 / -1;
}

.section-card > h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  display: block;
  font-family: var(--f-mono);
  font-stretch: 100%;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-card > p,
.section-card > ol,
.section-card > ul {
  max-width: 68ch;
}

.section-card h3 {
  margin-top: 1.6rem;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Lister */

.timeline,
.checklist {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

ol.timeline {
  counter-reset: step;
}

.timeline li,
.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.4rem;
  border-top: 1px solid var(--hair);
}

.timeline li:last-child,
.checklist li:last-child {
  border-bottom: 1px solid var(--hair);
}

ol.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.78rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  width: 1.6rem;
  height: 1.6rem;
  line-height: 1.6rem;
  text-align: center;
  border: 1px solid var(--ink);
}

ul.timeline li::before,
.checklist li::before {
  content: "—";
  position: absolute;
  left: 0.2rem;
  color: var(--accent);
  font-family: var(--f-mono);
}

/* Stikkord */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
}

.tag {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.tag::before {
  content: "#";
  color: var(--accent);
}

/* Merknad */

.warn {
  border-left: 4px solid var(--accent);
  background: var(--paper-2);
  padding: 0.9rem 1.1rem;
  margin: 1rem 0 1.4rem;
  max-width: 68ch;
}

.warn::before {
  content: "Merk";
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

/* Rutenett av oppføringer (leverandører, sensorer, studiesteder …) */

.news,
.study-grid,
.provider-grid,
.sensor-grid,
.std-grid,
.spor-grid,
.online-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
  margin: 1.2rem 0 1.4rem;
}

.news {
  grid-template-columns: 1fr;
}

.news-item,
.study-card,
.provider-card,
.sensor-card,
.std-card,
.spor-card,
.online-card {
  padding: 1rem 1.1rem 1.1rem;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-size: 0.96rem;
}

.news-item h3,
.study-card h3,
.provider-card h3,
.sensor-card h3,
.std-card h3,
.spor-card h3,
.online-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.news-item p:last-child,
.study-card p:last-child,
.provider-card p:last-child,
.sensor-card p:last-child,
.std-card p:last-child,
.spor-card p:last-child,
.online-card p:last-child {
  margin-bottom: 0;
}

.news-item .dateline {
  display: block;
  margin-bottom: 0.3rem;
}

.study-card a,
.provider-card a,
.std-card a,
.online-card a {
  font-family: var(--f-mono);
  font-size: 0.8rem;
}

/* Lenkesamlinger */

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 0.8rem 0 1.2rem;
}

.resource-links a {
  font-family: var(--f-mono);
  font-size: 0.85rem;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.link-list a {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: var(--ink);
}

.link-list a:hover {
  color: var(--accent);
}

a[target="_blank"]::after {
  content: "\2197";
  font-family: var(--f-mono);
  font-size: 0.8em;
  margin-left: 0.15em;
  color: var(--muted);
}

/* Sidekolonne */

aside {
  position: sticky;
  top: 5rem;
  padding-top: 2rem;
}

.sidebar-card {
  border-top: 3px solid var(--rule);
  padding: 0.6rem 0 1.6rem;
}

.sidebar-card h3 {
  font-family: var(--f-mono);
  font-stretch: 100%;
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

/* Spørsmål og svar */

.faq {
  border-top: 1px solid var(--rule);
  max-width: 68ch;
}

details {
  border-bottom: 1px solid var(--hair);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 2rem 0.9rem 0;
  position: relative;
  font-family: var(--f-display);
  font-stretch: 90%;
  font-weight: 650;
  font-size: 1.08rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 0.75rem;
  font-family: var(--f-mono);
  font-size: 1.2rem;
  color: var(--accent);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}

/* Tabeller */

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0;
}

.prog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.prog-table th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.5rem 0.7rem 0.5rem 0;
  border-bottom: 2px solid var(--rule);
}

.prog-table td {
  padding: 0.6rem 0.7rem 0.6rem 0;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}

.prog-table tr:hover td {
  background: var(--paper-2);
}

.badge {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0.05rem 0.35rem;
  border: 1px solid currentColor;
}

.badge-master {
  color: var(--navy);
}

.badge-bachelor {
  color: var(--accent);
}

.badge-overview {
  color: var(--muted);
}

/* Ordliste */

.glossary {
  margin: 1rem 0 0;
  max-width: 68ch;
}

.glossary dt {
  font-family: var(--f-display);
  font-stretch: 90%;
  font-weight: 700;
  font-size: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
  scroll-margin-top: 5rem;
}

.glossary dt:first-child {
  border-top: 0;
}

.glossary dt:target {
  color: var(--accent);
}

.glossary dd {
  margin: 0.3rem 0 1.1rem;
  color: var(--ink-2);
}

.letter-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.85rem;
}

.page-meta {
  margin: 1.2rem 0 0;
}

/* Knapper */

.button {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

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

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

.button:disabled {
  opacity: 0.5;
  cursor: wait;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0.8rem;
}

.privacy-status:empty {
  display: none;
}

.privacy-status {
  border-left: 4px solid var(--accent);
  background: var(--paper-2);
  padding: 0.7rem 1rem;
  max-width: 68ch;
}

/* ---------- Bunn ---------- */

footer {
  background: #111214;
  color: #ecebe6;
  padding: 2.5rem var(--gutter) 3rem;
  font-family: var(--f-mono);
  font-size: 0.8rem;
}

.footer-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
}

.footer-wrap h2 {
  font-family: var(--f-mono);
  font-stretch: 100%;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin: 0 0 0.6rem;
}

.footer-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
}

.footer-brand {
  font-family: var(--f-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.4rem !important;
}

footer p {
  margin: 0;
}

footer a {
  color: #ecebe6;
}

footer a:hover {
  color: #ffffff;
  text-decoration-color: var(--accent);
}

/* ---------- Mobil ---------- */

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    border-top: 1px solid var(--hair);
  }

  .nav-links.is-collapsible {
    display: none;
  }

  .nav-links.is-collapsible.open {
    display: flex;
  }

  .nav-links a {
    border-left: 0;
    border-bottom: 1px solid var(--hair);
    padding: 0.75rem 0;
  }

  .hero,
  .section-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .section-grid > .section-card:nth-child(2) {
    border-top: 1px solid var(--rule);
  }

  aside {
    position: static;
  }
}

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