/* Case 03: langvarig svær akne – før og efter hos hudlægen | Klinik Nykvist */
/* Layout: single-column editorial case page on a warm paper surface, two documentation angles, journal, narrative with signature, light procedure section, no dark panels */
:root {
  --bg: #F5F2EC;
  --surface: #FBF9F5;
  --ink: #1E1B18;
  --muted: #6E655C;
  --faint: #A49C92;
  --line: #DED6CA;
  --line-soft: #E8E2D6;
  --accent: #8C6A3F;
  --wine: #3C1F26;
  --wine-ink: #F2EAE2;

  --serif: "Cormorant Garamond", "Hoefler Text", Garamond, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 62ch;
  --page-max: 1280px;

  color-scheme: light;
}
/* Single-theme light page */

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: 24px;
  padding-block: clamp(48px, 8vw, 112px);
}

/* ——— Masthead ——— */
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(48px, 7vw, 88px);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.wordmark em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-left: 2px;
}
.location {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* ——— Hero ——— */
.eyebrow {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.rx-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--wine);
  color: var(--wine-ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  text-wrap: balance;
  max-width: 18ch;
}
.headline em {
  font-style: italic;
  color: var(--muted);
  font-weight: 400;
}

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

/* ——— Dokumentation ——— */
.documentation {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 88px);
}
.angle-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.angle-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  font-weight: 300;
}
.angle-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.diptych {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.diptych .rule {
  background: var(--line);
  align-self: stretch;
}

.plate .label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.plate .label .stage {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}
.plate .label .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.plate figure {
  margin: 0;
  background: var(--surface);
}
.plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ——— Detail-sektion (close-up billeder) ——— */
.detail-section {
  max-width: 760px;
  margin: clamp(56px, 8vw, 88px) auto 0;
}
.detail-section .angle-label { }
.detail-pair {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}
.detail-plate figure {
  margin: 0;
  background: var(--surface);
}
.detail-plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.detail-plate .plate-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.detail-plate .plate-caption .stage {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.plate figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  font-weight: 400;
}

@media (max-width: 720px) {
  .diptych {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .diptych .rule { display: none; }
}

/* ——— Dossier ——— */
.dossier {
  margin-top: clamp(72px, 10vw, 120px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.dossier h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  margin: 0;
  color: var(--muted);
  letter-spacing: 0;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 28px;
}
.fact dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 400;
}
.fact dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
}
.fact dd .note {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 300;
}

@media (max-width: 760px) {
  .dossier { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: 1fr; row-gap: 22px; }
}

/* ——— Narrative ——— */
.narrative {
  margin-top: clamp(72px, 10vw, 120px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.narrative h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  margin: 0;
  color: var(--muted);
}
.narrative .body { max-width: var(--measure); }
.narrative p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 1.1em;
  color: var(--ink);
  font-weight: 400;
}
.narrative p:last-of-type { margin-bottom: 0; }
.narrative .dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.6em;
  float: left;
  line-height: 0.9;
  padding: 6px 10px 0 0;
  font-weight: 400;
  color: var(--accent);
}

.signature {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}
.signature strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.22em;
  font-size: 11px;
  margin-bottom: 2px;
}

@media (max-width: 760px) {
  .narrative { grid-template-columns: 1fr; gap: 24px; }
}

/* ——— Procedure (lys variant) ——— */
.procedure {
  margin-top: clamp(72px, 10vw, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.procedure h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  margin: 0;
  color: var(--muted);
}
.procedure .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
.procedure .col h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.procedure ul {
  list-style: none;
  margin: 0; padding: 0;
}
.procedure li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}
.procedure li:last-child { border-bottom: none; }
.procedure li::before {
  content: "+";
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .procedure { grid-template-columns: 1fr; gap: 24px; }
  .procedure .cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ——— Foot ——— */
.foot {
  margin-top: clamp(72px, 10vw, 120px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.foot .disclosure {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 54ch;
}
.foot .disclosure strong {
  color: var(--ink);
  font-weight: 500;
}
.cta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.cta:hover, .cta:focus-visible {
  color: var(--accent);
  outline: none;
}
.cta .arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 220ms ease;
}
.cta:hover .arrow { transform: translateX(4px); }

@media (max-width: 520px) {
  .foot { flex-direction: column; align-items: flex-start; }
  .cta { white-space: normal; }
}

.wordmark{color:var(--ink);text-decoration:none}
.location{text-decoration:none}
.location:hover{color:var(--ink)}
body{margin:0}

/* Billeder på én række + bredere side */
.page{padding-inline:clamp(20px,4vw,56px)}
.documentation--row{max-width:none;gap:0}
.doc-row{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:clamp(14px,2vw,28px)}
.pl-no{font-family:var(--mono);font-style:normal;font-size:11px;letter-spacing:.06em;color:var(--accent);margin-right:6px}
.doc-row .plate .label{flex-direction:column;align-items:flex-start;gap:6px}
.swipe-hint{display:none;align-items:center;gap:8px;margin:14px 0 0;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
@media (max-width:720px){
  .doc-row{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-right:calc(-1 * clamp(20px,4vw,56px));padding-right:clamp(20px,4vw,56px)}
  .doc-row::-webkit-scrollbar{display:none}
  .doc-row .plate{scroll-snap-align:start}
  .swipe-hint{display:flex}
}

/* Case 03: 4 billeder på første række, nærbilleder centreret på anden række */
@media (min-width:721px){.doc-row--6{row-gap:clamp(36px,4vw,56px)}.doc-row--6 .plate:nth-child(5){grid-column:2}}
