/* ==========================================================================
   Nordic AM Solutions AS — nordicamsolutions.no
   Konsernnettsted. Bygget på strata-identiteten, i en nøytral grafittpalett.
   Ingen rammeverk, ingen eksterne avhengigheter, ingen sporing.

   Forholdet til industrial.nordicamsolutions.no:
   samme motiv (strata), samme typografi, samme radier og komponentlogikk.
   Nettbutikken bruker farge til å skille produktkategorier. Konsernet selger
   ingenting direkte og bruker derfor ingen kulør — bare sort og grått.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Skrift — hentet lokalt fra nettstedet. Lisenser ligger i /assets/fonts/.
      Space Grotesk (titler), Inter (brødtekst), IBM Plex Mono (data/etiketter).
   -------------------------------------------------------------------------- */
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* --------------------------------------------------------------------------
   1. Designtokens
   -------------------------------------------------------------------------- */
:root {
  /* Grafittskala — nøytral, uten kulør */
  --black:      #000000;   /* logo og primærhandling */
  --ink:        #1C1E20;   /* mørke flater, overskrifter */
  --ink-2:      #292C2E;   /* kort på mørk flate */
  --ink-3:      #3A3E42;   /* strata, lag 2 */
  --graphite:   #54595E;   /* brødtekst sekundær, strata lag 3 */
  --steel:      #797F85;   /* dempet tekst, monoetiketter */
  --silver:     #AEB2B6;   /* strata lag 4 */

  --line:       #D8DAD7;
  --line-soft:  #E6E7E4;
  --shell:      #EDEEEB;   /* sidebakgrunn */
  --paper:      #F7F8F6;   /* kortbakgrunn */
  --white:      #FFFFFF;

  --dark-text:  #D7D9D6;
  --dark-muted: #8B908C;
  --dark-line:  #3B3F3C;

  /* Skrift */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Rom og form */
  --wrap:      1200px;
  --sec:       clamp(3.5rem, 2.5rem + 4.5vw, 5.75rem);
  --sec-tight: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
  --gap:       1.25rem;
  --r-sm:      8px;    /* knapper */
  --r:         10px;
  --r-lg:      14px;   /* kort */
}

/* --------------------------------------------------------------------------
   2. Grunnlag
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.55rem + 2.9vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 1.35rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1.05em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--black); }

ul, ol { margin: 0 0 1.05em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

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

hr { border: 0; height: 1px; background: var(--line); margin: 2.25rem 0; }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.25rem);
}

.section { padding-block: var(--sec); }
.section--tight { padding-block: var(--sec-tight); }

.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--dark  { background: var(--ink); color: var(--dark-text); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--dark-text); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem); }
.section-head p { color: var(--graphite); font-size: 1.0625rem; }
.section--dark .section-head p { color: var(--dark-muted); }

.lead { font-size: 1.125rem; line-height: 1.6; color: var(--graphite); max-width: 60ch; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 750px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 750px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 750px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: .85rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Etiketter og monotekst
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 .9rem;
}
.section--dark .eyebrow { color: var(--dark-muted); }

/* Strata-linjal: motivet i sin minste form, fire lag i grafitt */
.strata-rule {
  display: flex;
  width: 116px; height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1.35rem;
}
.strata-rule i { flex: 1; }
.strata-rule i:nth-child(1) { background: var(--black); }
.strata-rule i:nth-child(2) { background: var(--ink-3); }
.strata-rule i:nth-child(3) { background: var(--graphite); }
.strata-rule i:nth-child(4) { background: var(--silver); }
.section--dark .strata-rule i:nth-child(1),
.site-footer .strata-rule i:nth-child(1) { background: var(--white); }
.section--dark .strata-rule i:nth-child(2),
.site-footer .strata-rule i:nth-child(2) { background: var(--silver); }
.section--dark .strata-rule i:nth-child(3),
.site-footer .strata-rule i:nth-child(3) { background: var(--steel); }
.section--dark .strata-rule i:nth-child(4),
.site-footer .strata-rule i:nth-child(4) { background: var(--graphite); }

/* --------------------------------------------------------------------------
   5. Knapper og lenker
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--primary:hover { background: var(--ink-3); border-color: var(--ink-3); color: var(--white); }

.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--black); color: var(--black); }

.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--shell); border-color: var(--shell); color: var(--black); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: #4B4F4C; }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }

.link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9375rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .15s ease, color .15s ease;
}
.link:hover { color: var(--black); border-color: var(--black); }
.section--dark .link { color: var(--dark-text); border-color: var(--dark-line); }
.section--dark .link:hover { color: var(--white); border-color: var(--white); }

/* Merke for lenker som forlater nettstedet */
.ext-mark {
  width: .68em; height: .68em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   6. Topptekst
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(237, 238, 235, .93);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.25rem;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
/* Logoen er sort. På mørk flate brukes den negative varianten i hvitt. */
.brand__mark { width: 26px; height: 26px; flex: none; fill: var(--black); }
.footer-brand .brand__mark { fill: var(--white); }
.brand__name {
  font-family: var(--display);
  font-weight: 700; font-size: 1.0625rem;
  letter-spacing: -0.01em; line-height: 1.1;
  white-space: nowrap;
}
.brand__suffix { color: var(--steel); }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-block; padding: .3rem 0 .35rem;
  color: var(--graphite); text-decoration: none;
  font-size: .9375rem; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--black); }
.nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--black); }

.header-actions { display: none; align-items: center; gap: .6rem; }
.header-actions .btn { padding: .55rem 1rem; font-size: .875rem; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-left: auto;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .5rem .8rem;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
}
/* Pil, ikke tre streker: logoen er allerede fire stablede bånd. */
.nav-toggle__chev {
  width: 11px; height: 8px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__chev { transform: rotate(180deg); }

.mobile-nav { display: none; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .25rem 0 1.15rem; }
.mobile-nav li { margin: 0; border-top: 1px solid var(--line-soft); }
.mobile-nav a { display: block; padding: .9rem .1rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--black); }
.mobile-nav .btn-row { margin-top: 1rem; }
.mobile-nav .btn { flex: 1 1 auto; }

@media (min-width: 960px) {
  .nav { display: block; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --------------------------------------------------------------------------
   7. Hero — strata som selskapets oppbygging
      Kolonneforhold ca. 1,3 : 0,7, faller til én kolonne under 750px.
   -------------------------------------------------------------------------- */
.hero { background: var(--shell); padding-block: clamp(2.75rem, 2rem + 4.5vw, 5rem) clamp(3rem, 2.2rem + 5vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 750px) { .hero__grid { grid-template-columns: 1.3fr .7fr; } }

.hero h1 { margin-bottom: .45em; }
.hero__text { font-size: 1.1875rem; line-height: 1.55; color: var(--graphite); max-width: 48ch; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin: 2rem 0 0; padding: 0;
}
.hero__tags li {
  margin: 0;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .05em;
  color: var(--graphite);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem .75rem;
}

/* De fire lagene: selskapet øverst, aktivitetene under. */
.strata-stack {
  display: flex; flex-direction: column;
  height: clamp(280px, 46vw, 430px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.strata-stack__band {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: .1rem;
  padding: .9rem 1.05rem;
  transform-origin: bottom;
}
.strata-stack__band + .strata-stack__band { border-top: 1px solid rgba(255,255,255,.14); }
.strata-stack__band:nth-child(1) { background: var(--black); }
.strata-stack__band:nth-child(2) { background: var(--ink-3); }
.strata-stack__band:nth-child(3) { background: var(--graphite); }
.strata-stack__band:nth-child(4) { background: var(--silver); border-top-color: rgba(0,0,0,.12); }
.strata-stack__name {
  font-family: var(--display); font-weight: 700; font-size: .9375rem;
  letter-spacing: -0.01em; color: var(--white);
}
.strata-stack__role {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.strata-stack__band:nth-child(4) .strata-stack__name { color: var(--ink); }
.strata-stack__band:nth-child(4) .strata-stack__role { color: rgba(28,30,32,.7); }

/* Ett orkestrert øyeblikk ved sidelast: lagene legges på, nedenfra og opp. */
.strata-stack__band { animation: laydown .55s cubic-bezier(.22,.61,.36,1) both; }
.strata-stack__band:nth-child(4) { animation-delay: .04s; }
.strata-stack__band:nth-child(3) { animation-delay: .13s; }
.strata-stack__band:nth-child(2) { animation-delay: .22s; }
.strata-stack__band:nth-child(1) { animation-delay: .31s; }
@keyframes laydown {
  from { transform: scaleY(.04); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

/* Sidetopp for undersider */
.page-hero { background: var(--shell); padding-block: clamp(2.25rem, 1.8rem + 3vw, 3.75rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.page-hero h1 { max-width: 17ch; }

/* --------------------------------------------------------------------------
   8. Kort
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
}
.section--paper .card { background: var(--white); }
.card h3 { margin-bottom: .3em; }
.card p { color: var(--graphite); font-size: .9375rem; }
.card__sub {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--steel);
  margin: -0.15rem 0 .85rem;
}
.card__foot { margin-top: auto; padding-top: 1.35rem; }
.card__top { width: 34px; height: 6px; border-radius: 3px; background: var(--black); margin-bottom: 1.1rem; }
.card__keywords {
  display: flex; flex-wrap: wrap; gap: .35rem .4rem;
  list-style: none; margin: 1rem 0 0; padding: 0;
}
.card__keywords li {
  margin: 0;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .05em;
  color: var(--graphite);
  border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem;
}

.card--dark { background: var(--ink); border-color: var(--ink); color: var(--dark-text); }
.section--paper .card--dark { background: var(--ink); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--dark-text); }
.card--dark .card__sub { color: var(--dark-muted); }
.card--dark .card__top { background: var(--white); }
.card--dark .card__keywords li { color: var(--dark-muted); border-color: var(--dark-line); }

/* --------------------------------------------------------------------------
   9. Prinsipper, fakta og spesifikasjoner
   -------------------------------------------------------------------------- */
.pillar { padding-top: 1.1rem; border-top: 2px solid var(--black); }
.pillar h3 { font-size: 1.0625rem; margin-bottom: .4em; }
.pillar p { color: var(--graphite); font-size: .9375rem; }
.section--dark .pillar { border-top-color: var(--white); }

/* Nøkkel/verdi-rader — verdien i mono, som i nettbutikken */
.facts { margin: 2.25rem 0 0; border-top: 1px solid var(--line); }
.facts div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 2rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--graphite); font-size: .9375rem; }
.facts dd { margin: 0; font-family: var(--mono); font-size: .875rem; color: var(--ink); text-align: right; }

.spec { display: grid; gap: 1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .spec { grid-template-columns: repeat(3, 1fr); } }
.spec li { margin: 0; padding-top: .85rem; border-top: 1px solid var(--line); }
.spec strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: .2rem; }
.spec span { font-size: .9375rem; color: var(--graphite); }
.section--dark .spec li { border-top-color: var(--dark-line); }
.section--dark .spec strong { color: var(--white); }
.section--dark .spec span { color: var(--dark-muted); }

/* --------------------------------------------------------------------------
   10. Selskapsstruktur — samme fire lag, som liste
   -------------------------------------------------------------------------- */
.org { margin-top: .5rem; border-top: 1px solid var(--dark-line); }
.org__row {
  display: grid; gap: .35rem 1.75rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--dark-line);
  align-items: baseline;
}
@media (min-width: 800px) { .org__row { grid-template-columns: 3.5rem 15rem 1fr; } }
.org__layer {
  width: 34px; height: 6px; border-radius: 3px;
  background: var(--white);
}
.org__row:nth-child(2) .org__layer { background: var(--silver); }
.org__row:nth-child(3) .org__layer { background: var(--steel); }
.org__row:nth-child(4) .org__layer { background: var(--graphite); }
.org__name { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; color: var(--white); }
.org__desc { color: var(--dark-muted); font-size: .9375rem; }

/* --------------------------------------------------------------------------
   11. Aktivitetsblokker
   -------------------------------------------------------------------------- */
.activity {
  display: grid; gap: clamp(1.25rem, 3.5vw, 2.75rem);
  padding-block: clamp(2rem, 1.6rem + 2.2vw, 3.25rem);
  border-top: 1px solid var(--line);
}
.activity:last-of-type { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .activity { grid-template-columns: 16rem 1fr; } }
.activity__aside h2 { font-size: 1.6rem; margin-bottom: .35em; }
.activity__role { font-family: var(--mono); font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
.activity__body > p:first-child { font-size: 1.0625rem; color: var(--graphite); }

/* --------------------------------------------------------------------------
   12. Kontakt og skjema
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
}
.form h2 { font-size: 1.5rem; }
.form__row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  font-size: .8125rem; color: var(--graphite);
  margin-bottom: .35rem;
}
.field .hint { color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .7rem .8rem;
  font-family: var(--body); font-size: .9375rem;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-sm);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--black); }

.form__note { font-size: .8125rem; color: var(--steel); margin-top: 1rem; max-width: 60ch; }
.form__note a { color: var(--ink); }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.4vw, 1.6rem);
}
.contact-card h2 { font-size: 1.0625rem; margin-bottom: .8rem; }
.contact-card ul { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.contact-card li { margin-bottom: .5rem; }
.contact-card li:last-child { margin-bottom: 0; }
.contact-card address { font-style: normal; font-size: .9375rem; color: var(--graphite); line-height: 1.85; }
.contact-card address strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   13. Handlingsblokk
   -------------------------------------------------------------------------- */
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--dark-muted); max-width: 56ch; }

/* --------------------------------------------------------------------------
   14. Bunntekst
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--dark-text);
  padding-block: clamp(2.75rem, 2.2rem + 2vw, 4rem) 1.5rem;
  font-size: .9375rem;
}
.site-footer h2 {
  font-family: var(--mono); font-size: .72rem; font-weight: 400;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 1rem;
}
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }

.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-brand .brand { color: var(--white); margin-bottom: .9rem; }
.footer-brand .brand__suffix { color: var(--dark-muted); }
.footer-brand p { color: var(--dark-muted); max-width: 32ch; }
.footer-brand .tagline { color: var(--white); margin-bottom: .7rem; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: 2.5rem; padding-top: 1.35rem;
  border-top: 1px solid var(--dark-line);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--dark-muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.footer-bottom li { margin: 0; }

/* --------------------------------------------------------------------------
   15. Innholdssider
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { color: var(--graphite); }

/* --------------------------------------------------------------------------
   16. Redusert bevegelse og utskrift
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .mobile-nav, .cta-band, .strata-stack { display: none; }
  body { background: #fff; color: #000; }
  .section, .hero, .page-hero { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
