/* modemagasin.dk - hør, kul og salvie. Instrument Serif (overskrifter) og Instrument Sans (tekst). */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --hoer: #efebe3;
  --hoer-2: #e4ded2;
  --lys: #f8f6f1;
  --kul: #2a2724;
  --daempet: #625d56;
  --linje: #d3ccbe;
  --salvie: #56664f;
  --salvie-lys: #dfe5d8;
  --rosa: #c9a493;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --maal: 64ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hoer); color: var(--kul); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
::selection { background: var(--salvie-lys); }
img, svg { max-width: 100%; }
a { color: var(--salvie); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kul); }
:focus-visible { outline: 2px solid var(--salvie); outline-offset: 3px; }
.serif { font-family: var(--serif); font-size: 1.2em; }

.spring { position: absolute; left: -9999px; top: 0; background: var(--kul); color: var(--hoer); padding: .6rem 1rem; z-index: 10; }
.spring:focus { left: 1rem; top: 1rem; }
.ramme { width: 100%; max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }

/* Top */
.top-ind { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.ordmaerke { display: inline-flex; align-items: center; gap: .6rem; color: var(--kul); text-decoration: none; font-family: var(--serif); font-size: 1.65rem; line-height: 1; }
.ordmaerke .boejle { width: 2.2rem; height: auto; }
.menu { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.menu a { color: var(--kul); text-decoration: none; font-size: .95rem; padding: .2rem 0; border-bottom: 1px solid transparent; }
.menu a:hover { border-bottom-color: var(--kul); }
.menu a[aria-current="page"] { border-bottom-color: var(--salvie); color: var(--salvie); }

/* Typografi */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { margin: 0 0 1em; }
.overlinje { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--salvie); margin-bottom: 1rem; }
.indledning { font-size: 1.18rem; line-height: 1.6; color: var(--daempet); max-width: 38rem; }

/* Forside */
.helt { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem); }
.helt-ind { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; }
.helt h1 { max-width: 13ch; }
.helt-boejle { width: 100%; max-width: 20rem; justify-self: end; color: var(--kul); }
.helt-stof { fill: var(--salvie); opacity: .85; }
.sektion { padding: clamp(2rem, 5vw, 4rem) 0; }
.hylder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2rem; }
.hylder li { border-top: 2px solid var(--kul); }
.hylder a { display: grid; gap: .35rem; padding: 1rem 0 1.6rem; color: var(--daempet); text-decoration: none; }
.hylde-nr { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--salvie); font-weight: 600; }
.hylde-titel { font-family: var(--serif); font-size: 2rem; line-height: 1.05; color: var(--kul); }
.hylder a:hover .hylde-titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sektion-citat { background: var(--salvie); color: #eef1ea; }
.citat { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.12; max-width: 24ch; margin-bottom: .8rem; }
.citat-under { color: #d3dbcc; margin: 0; }

/* Tekstsider */
.tekstside { padding-bottom: 4rem; }
.side-top { padding: clamp(2rem, 6vw, 4rem) 0 2rem; max-width: 46rem; }
.artikel { max-width: var(--maal); }
.artikel h2 { margin-top: 2.2rem; }
.liste { padding-left: 1.1rem; }
.liste li { margin-bottom: .6rem; }
.liste li::marker { color: var(--salvie); }
.note { margin: 2.5rem 0; padding: 1.4rem 1.5rem; background: var(--lys); border: 1px solid var(--linje); }
.note h2 { margin-top: 0; font-size: 1.6rem; }
.note p:last-child { margin-bottom: 0; }

.kombi { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.25rem 0 1.5rem; padding: 1.25rem 1.4rem; background: var(--lys); border: 1px solid var(--linje); }
.kombi div { display: grid; text-align: center; font-size: .85rem; color: var(--daempet); }
.kombi-tal { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--kul); }
.kombi-op { font-family: var(--serif); font-size: 1.8rem; color: var(--rosa); }
.kombi-sum .kombi-tal { color: var(--salvie); }

/* Materialer */
.materialer { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.5rem 3rem; margin-bottom: 1.5rem; }
.gruppe h2 { font-size: 1.55rem; padding-bottom: .5rem; border-bottom: 1px solid var(--kul); }
.fibre { margin: 0; }
.fibre div { padding: .7rem 0 .9rem; border-bottom: 1px solid var(--linje); }
.fibre dt { font-weight: 700; margin-bottom: .2rem; }
.fibre dd { margin: 0; color: var(--daempet); }

/* Pleje */
.symboler { display: grid; gap: 0; max-width: 48rem; margin-bottom: 2rem; }
.symbol { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--linje); }
.symbol:last-child { border-bottom: 1px solid var(--linje); }
.symbol svg { width: 4.5rem; height: auto; fill: none; stroke: var(--kul); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.symbol svg .fyld { fill: var(--kul); stroke: none; }
.symbol svg text { fill: var(--kul); stroke: none; font-family: var(--sans); font-size: 12px; font-weight: 600; }
.symbol h2 { font-size: 1.7rem; margin-bottom: .25em; }
.symbol p { margin: 0; color: var(--daempet); }

/* Pris pr. brug */
.ppb { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; max-width: 58rem; }
.ting { margin: 0; padding: 1.25rem 1.3rem 1.4rem; background: var(--lys); border: 1px solid var(--linje); display: grid; gap: .8rem; min-width: 0; }
.ting legend { float: left; width: 100%; padding: 0; margin: 0 0 .2rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.ting label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; color: var(--daempet); }
.ting input { font: inherit; font-size: 1.05rem; color: var(--kul); width: 100%; padding: .6rem .7rem; border: 1px solid #b7ae9e; border-radius: 2px; background: #fff; }
.ting-svar { margin: .3rem 0 0; padding-top: .8rem; border-top: 1px solid var(--linje); color: var(--daempet); }
.ppb-tal { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1.05; color: var(--kul); }
.ppb-dom { max-width: 58rem; margin: 1.25rem 0 2rem; padding: 1rem 1.2rem; background: var(--salvie-lys); color: #2f3b2a; font-size: 1.08rem; }
.ppb-dom:empty { display: none; }

/* Knapper */
.knapper { display: flex; flex-wrap: wrap; gap: .75rem; }
.knap { display: inline-block; padding: .75rem 1.3rem; background: var(--kul); color: var(--hoer); text-decoration: none; font-weight: 600; border: 1px solid var(--kul); border-radius: 99px; }
.knap:hover { background: var(--salvie); border-color: var(--salvie); color: #fff; }
.knap-lys { background: transparent; color: var(--kul); }

/* Bund */
.bund { border-top: 1px solid var(--linje); padding: 2rem 0 2.5rem; font-size: .92rem; color: var(--daempet); }
.bund-ind { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.bund-navn { margin: 0; max-width: 30rem; }
.bund nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.bund nav a { color: var(--daempet); }

@media (max-width: 720px) {
  .helt-ind { grid-template-columns: 1fr; gap: 1.5rem; }
  .helt-boejle { max-width: 12rem; justify-self: start; order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .menu { gap: .2rem 1.1rem; }
  .indledning { font-size: 1.06rem; }
  .symbol { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; }
  .symbol svg { width: 3.4rem; }
}
