/* The editorial and utility pages on the light interior design (Option F, approved 2026-09-10): the blog and its
   articles, field work and its case studies, privacy, terms, sign-in and 404.

   Loaded AFTER /light.css, which owns the theme tokens, the dark hero, the section furniture and the sheet
   (.s3 / .s3-row / .sol-k). Nothing in light.css is redefined here; everything new is namespaced `ed-`.

   Two ideas do the work:
   · long-form reading gets ONE centred column at a comfortable measure (~66-72 characters) — .ed-col + .ed-body;
   · anything structured — the article index, the imprint, the chain a case study was built from — keeps the
     house sheet discipline: a label column and a content column, every label at the same x as on an
     industry page (170px, 200px past 1200px). */

/* ---------- the dark hero with no picture ------------------------------
   The blog, field work, privacy, terms, sign-in and 404 have no picture of their own, and one must not be
   invented for them. They get the same dark ground, sized to the words rather than to a photograph. */
.dx-hero.ed-hero { min-height: 0; align-items: flex-end; }
.dx-hero.ed-hero::after { background:
  radial-gradient(110% 80% at 8% 0%, rgba(30,94,255,.20) 0%, rgba(8,9,12,0) 62%),
  linear-gradient(180deg, rgba(8,9,12,.55) 0%, rgba(8,9,12,0) 45%, rgba(8,9,12,.55) 100%); }
.dx-hero.ed-hero .dx-hero-inner { padding: 44px 0 52px; }
@media (min-width: 880px) { .dx-hero.ed-hero .dx-hero-inner { padding: 72px 0 84px; } }

/* the article's tag · date · reading time, in place of the hero eyebrow */
.ed-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.ed-hero-meta .ed-tag { color: var(--gold); }
.ed-hero-meta time, .ed-hero-meta span:not(.ed-tag) { color: #AEB8C6; }
.ed-hero-meta > :not(:first-child) { position: relative; padding-left: 22px; }
.ed-hero-meta > :not(:first-child)::before { content: "·"; position: absolute; left: 9px; color: #6C7787; }

/* ---------- page furniture --------------------------------------------- */
.ed-section { padding: 44px 0; }
@media (min-width: 880px) { .ed-section { padding: 72px 0; } }
.ed-section-tight { padding: 22px 0 0; }
@media (min-width: 880px) { .ed-section-tight { padding: 32px 0 0; } }

/* The reading column: one measure, centred, for everything long-form. Measured in the browser against the
   real font rather than guessed: at 18px Inter, 66 characters is 561px and 72 is 614px, so the column is 600. */
.ed-col { width: min(600px, 100% - 40px); margin-inline: auto; font-size: 17px; }
@media (min-width: 880px) { .ed-col { font-size: 18px; } }
/* Everything structured on these pages — the article index, the cards, the sheet — shares the reading
   column's centre line rather than the full page width an industry page uses. */
.ed-wrap { width: min(920px, 100% - 40px); margin-inline: auto; }

.ed-h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; max-width: 22ch; margin-bottom: 18px; }
.ed-intro { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 520px; }
.ed-p { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 560px; }
/* the run of blocks a reading section is made of */
.ed-col > .ed-body + .ed-facts, .ed-col > .s-lead + .ed-body, .ed-col > .ed-proof + .ed-body { margin-top: 20px; }
.ed-col > .ed-body:not(:empty) + .ed-facts { margin-top: 24px; }
.ed-col > .dx-actions { margin-top: 26px; }

/* ---------- long-form body --------------------------------------------- */
.ed-body { color: var(--ink-2); line-height: 1.75; }
.ed-body > * + * { margin-top: 1.15em; }
.ed-body h2 { font-size: clamp(24px, 2.9vw, 32px); line-height: 1.15; color: var(--ink); margin-top: 1.9em; }
.ed-body h3 { font-size: clamp(19px, 2vw, 22px); line-height: 1.25; color: var(--ink); margin-top: 1.7em; }
.ed-body h2 + *, .ed-body h3 + * { margin-top: .7em; }
.ed-body strong { color: var(--ink); }
.ed-body a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ed-body ul, .ed-body ol { display: grid; gap: 10px; }
.ed-body li { position: relative; padding-left: 26px; }
.ed-body ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.ed-body ol { counter-reset: ed-o; }
.ed-body ol li { counter-increment: ed-o; }
.ed-body ol li::before { content: counter(ed-o) "."; position: absolute; left: 0; color: var(--blue); font-weight: 600; }
.ed-body blockquote { margin: 1.6em 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--blue); }
.ed-body blockquote p { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 500; font-size: 1.1em; line-height: 1.45; color: var(--ink); }

/* the imprint and any other definition list: the sheet, at reading width */
.ed-body .legal-dl { display: grid; border-top: 1px solid var(--line); }
.ed-body .legal-dl > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ed-body .legal-dl dt { font: 500 11px/1.5 ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.ed-body .legal-dl dd { margin: 0; color: var(--ink); }
@media (min-width: 720px) { .ed-body .legal-dl > div { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: baseline; } }

/* ---------- the article ------------------------------------------------ */
.ed-fig { margin: 0 0 clamp(28px, 4vw, 44px); }
.ed-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.ed-foot { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.ed-foot .dx-actions { margin-top: 0; }

/* ---------- the blog index --------------------------------------------- */
.ed-feat { display: grid; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-decoration: none; color: inherit; }
.ed-feat:hover { border-color: var(--line-2); box-shadow: 0 18px 40px rgba(10,26,51,.08); }
.ed-feat-c { display: grid; gap: 14px; min-width: 0; }
.ed-feat h2 { font-size: clamp(27px, 3.4vw, 40px); line-height: 1.1; max-width: 20ch; }
.ed-feat:hover h2 { color: var(--blue-deep); }
.ed-feat .ed-dek { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 500; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; color: var(--blue-deep); max-width: 50ch; }
/* the picture bleeds to the card's edges: the width has to buy back the card's padding, because a replaced
   element does not stretch and a negative margin alone would only shift it */
.ed-feat .ed-img { grid-column: 1 / -1; width: calc(100% + 52px); max-width: none; margin: -26px -26px 4px; border-radius: 19px 19px 0 0; }
/* the label column sits at the same x as the rows below it and as an industry sheet */
@media (min-width: 880px) {
  .ed-feat { grid-template-columns: 170px minmax(0, 1fr); gap: 18px 32px; padding: 40px; align-items: start; }
  .ed-feat .ed-img { width: calc(100% + 80px); margin: -40px -40px 8px; border-radius: 19px 19px 0 0; }
  .ed-feat .ed-meta { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 6px; }
  .ed-feat .ed-meta > :not(:first-child) { padding-left: 0; }
  .ed-feat .ed-meta > :not(:first-child)::before { content: none; }
}
@media (min-width: 1200px) { .ed-feat { grid-template-columns: 200px minmax(0, 1fr); gap: 18px 40px; } }

.ed-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 500 11px/1.6 ui-monospace, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.ed-meta .ed-tag { color: var(--blue); }
.ed-meta > :not(:first-child) { position: relative; padding-left: 20px; }
.ed-meta > :not(:first-child)::before { content: "·"; position: absolute; left: 8px; }

.ed-posts { display: grid; border-top: 1px solid var(--line); }
.ed-posts > li { border-bottom: 1px solid var(--line); }
.ed-post { display: grid; gap: 8px; padding: 20px 0; text-decoration: none; color: inherit; align-items: start; }
.ed-post-t { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.18; color: var(--ink); letter-spacing: -.02em; max-width: 26ch; margin: 0; }
.ed-post:hover .ed-post-t { color: var(--blue-deep); }
.ed-post-x { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 520px; }
.ed-post-c { display: grid; gap: 8px; min-width: 0; }
/* an article's thumbnail, when the owner has supplied one: above the entry on a phone, a column of its own past 880 */
.ed-post .ed-img { order: -1; border-radius: 12px; margin-bottom: 2px; }
@media (min-width: 880px) {
  .ed-post { grid-template-columns: 170px minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; }
  .ed-post.has-pic { grid-template-columns: 170px minmax(0, 1fr) 200px; }
  .ed-post .ed-img { order: 0; border-radius: 10px; margin-bottom: 0; }
  .ed-post .ed-meta { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 4px; }
  .ed-post .ed-meta > :not(:first-child) { padding-left: 0; }
  .ed-post .ed-meta > :not(:first-child)::before { content: none; }
}
@media (min-width: 1200px) { .ed-post { grid-template-columns: 200px minmax(0, 1fr); gap: 8px 40px; } .ed-post.has-pic { grid-template-columns: 200px minmax(0, 1fr) 240px; } }
.ed-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- field work -------------------------------------------------- */
.ed-cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .ed-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ed-cards { grid-template-columns: repeat(3, 1fr); } }
.ed-card { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; }
.ed-card:hover { border-color: var(--line-2); box-shadow: 0 18px 40px rgba(10,26,51,.10); }
.ed-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ed-card-b { padding: 20px; display: grid; gap: 10px; align-content: start; }
.ed-card-t { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.ed-card:hover .ed-card-t { color: var(--blue-deep); }
.ed-card-l { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
/* industry over system, each on its own line: the pair is too long to sit inline in a card column */
.ed-card-m { display: flex; flex-direction: column; gap: 3px; font: 500 10.5px/1.5 ui-monospace, Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* what a case study is filed under, straight under the hero */
.ed-filed { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-filed a { display: grid; gap: 2px; align-content: center; min-height: 48px; padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.ed-filed a:hover { border-color: var(--blue); color: var(--blue-deep); }
.ed-filed .ed-k { font: 500 10px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* the proof line, and the chain the case study was built from (a sheet) */
.ed-proof { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 500; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; color: var(--blue-deep); max-width: 30ch; }
.ed-sheet { margin-top: 22px; }
.ed-chain { display: grid; gap: 5px; align-content: center; min-height: 44px; text-decoration: none; color: inherit; }
.ed-chain-n { font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.ed-chain:hover .ed-chain-n { color: var(--blue-deep); }
.ed-chain-d { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 480px; }

/* the note that closes a case study, on the navy call to action */
.dx-cta .ed-sources { color: rgba(201,211,227,.7); font-size: 13.5px; line-height: 1.6; max-width: 470px; margin-top: 30px; }

/* ---------- privacy and terms ------------------------------------------ */
.ed-updated { color: var(--ink-3); font-size: 14px; }
.ed-toc { margin: 22px 0 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-2); }
.ed-toc .dx-kicker { margin-bottom: 8px; }
.ed-toc ol { counter-reset: ed-t; display: grid; }
.ed-toc li { counter-increment: ed-t; }
.ed-toc a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.ed-toc a::before { content: counter(ed-t, decimal-leading-zero); font: 500 11px/1 ui-monospace, Menlo, monospace; color: var(--blue); }
.ed-toc a:hover { color: var(--blue-deep); }
@media (min-width: 720px) { .ed-toc ol { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.ed-sec { margin-top: clamp(38px, 5vw, 56px); }
.ed-sec > h2 { font-size: clamp(23px, 2.7vw, 31px); line-height: 1.15; margin-bottom: 14px; }

/* ---------- 404 and sign-in --------------------------------------------- */
.ed-ways { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-ways .dx-btn { flex: 0 0 auto; }
