/* Forside 2c2 lab copy: the same page with every face on the theme's variables, so the type lab
   (?lab=<preset>) reaches the headings, quotes and edge print. Original: prototypes/forside-2c2.

   Type is on the theme's slots and routes (type-slots spec 6): each property reads its chain and
   ends in this page's own value, so the page looks as designed until a fill or preset moves it.
   mark: hero title, section heads. heading: specimen names. voice: .takt, .punktum. quote:
   Beate, Martin, the review line. cite: their names. caption: Latin names and the small notes.
   label: the country list. number: the step numerals. ui: the review's read-more.

   Forside 2c - "en fremkalt filmrull fra Numedal"
   Two stocks in tension: Numedal reads as 35mm (warm base, grain, sprockets,
   edge print); Peru/Amazonas reads as digital (clean, saturated, no grain).
   The ritual's step numbers are a CSS counter - never markup. */

:root {
    /* --- emulsion palette --------------------------------------------- */
    --roll-base: #16120e;        /* film base: warm black */
    --roll-ink: #f4efe4;         /* print paper white */
    --roll-silver: #a79f93;      /* silver halide grey */
    --roll-leak: #ff7a33;        /* light leak orange */
    --roll-halation: #ff3d6e;    /* magenta halation at the reel end */
    --roll-paper: #efe7d8;       /* warm darkroom paper (morgen) */
    --roll-plate: #e7e6dd;       /* cool specimen sheet (sopp) */
    --roll-table: #d8d9d3;       /* backlit light table (numedal) */
    --roll-canopy: #0c1810;      /* jungle floor */
    --roll-chloro: #93cd6c;      /* chlorophyll */
    --roll-safelight: #2a1210;   /* darkroom safelight ground (ritual) */
    --roll-amber: #f0b45a;       /* safelight ink */
    --roll-rust: #8a4b24;        /* herbarium annotation ink */
    --roll-hair: color-mix(in oklab, currentColor 20%, transparent);
    --roll-hair-soft: color-mix(in oklab, currentColor 10%, transparent);

    /* Sizes, leading and most tracking are not here: the theme's scale sets them by role
       (block headings, kickers, captions, cites) and each other size is picked on its block
       (kaupang-docs#32). What is left below is marked "exception:" with its reason. */

    /* --- rhythm and geometry ------------------------------------------- */
    --roll-gutter: clamp(1.1em, 4.5vw, 3.5em);
    /* Vertical rhythm is the theme's air ladder (Ousia _var.scss): rows sit one
       line apart, sections take --air-section, a figure group a second line. */
    --roll-row: var(--air-line);

    /* Section bleed grid: one template that gives every scene three measures
       cut from the theme's own width tokens - text (--max-width), wide
       (--wide-width) and full - so a figure can bleed without a width hack.
       The text track subtracts the two gutter floors before it takes the
       theme's measure: --max-width runs off 99vw, so on its own it would
       claim width the gutters have already reserved and the row would
       overflow the section (768px was 9px over). */
    --roll-bleed:
        [full-start] minmax(var(--roll-gutter), 1fr)
        [wide-start] minmax(0, calc((var(--wide-width) - var(--max-width)) * 0.5))
        [text-start] min(100% - var(--roll-gutter) * 2, var(--max-width)) [text-end]
        minmax(0, calc((var(--wide-width) - var(--max-width)) * 0.5)) [wide-end]
        minmax(var(--roll-gutter), 1fr) [full-end];

    /* 35mm grain, as a tileable turbulence sheet */
    --roll-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");

    /* Sprocket rail: a band with punched perforations. The band colour is
       baked into the data URI (masks cannot take a var) - keep in sync with
       --roll-base if that changes. */
    --roll-perf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16'%3E%3Cmask id='m'%3E%3Crect width='28' height='16' fill='%23fff'/%3E%3Crect x='7' y='4' width='14' height='8' rx='2.6' fill='%23000'/%3E%3C/mask%3E%3Crect width='28' height='16' fill='%2316120e' mask='url(%23m)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------- */
/* The roll: scope, shared chrome                                          */
/* ---------------------------------------------------------------------- */

.forside-hero,
.forside-seksjon {
    position: relative;
    isolation: isolate;
}

/* Each scene owns its ink; let it win over the theme cascade.
   Classed links (buttons) are deliberately left out. */
.forside-hero :is(p, h1, h2, h3, h4, li, em, cite, blockquote, figcaption, a:not([class])),
.forside-seksjon :is(p, h1, h2, h3, h4, li, em, cite, blockquote, figcaption, a:not([class])) {
    color: inherit;
}

/* The bleed grid, mounted on groups directly and on cover inner containers. */
.forside-morgen,
.forside-skogen,
.forside-ritual,
.forside-numedal,
.forside-hero > .wp-block-cover__inner-container,
.forside-handverk > .wp-block-cover__inner-container,
.forside-sopp > .wp-block-cover__inner-container,
.forside-kjop > .wp-block-cover__inner-container {
    display: grid;
    grid-template-columns: var(--roll-bleed);
    row-gap: var(--roll-row);
    align-content: start;
}

/* The grid owns block rhythm, so theme block margins step aside inside it. */
.forside-morgen > *,
.forside-skogen > *,
.forside-ritual > *,
.forside-numedal > *,
.forside-hero > .wp-block-cover__inner-container > *,
.forside-handverk > .wp-block-cover__inner-container > *,
.forside-sopp > .wp-block-cover__inner-container > *,
.forside-kjop > .wp-block-cover__inner-container > * {
    grid-column: text;
    margin-block: 0;
    min-width: 0;
}

/* The theme clamps every cover child and every image to --max-width and
   centres it with auto inline margins. That caps anything this page places in
   the wide or full track: the stretch into the grid area fails, the box falls
   back to fit-content, and a WP grid block - which ships container-type:
   inline-size - then collapses to the sum of its gaps. The bleed grid owns
   width here, so release the clamp. The selectors carry one class more than
   the theme's, because page CSS is enqueued before the theme. */
:is(.forside-hero, .forside-seksjon) > .wp-block-cover__inner-container > :not(.alignleft):not(.alignright):not(.alignfull),
.forside-seksjon figure.wp-block-image {
    max-width: none;
    margin-inline: 0;
}

/* The scenes' grounds are painted by class, so the page says they are
   sections. Covers get the same step from the theme. */
.forside-seksjon {
    padding-block: var(--air-section);
}

/* Covers ship with padding: 1em; zero the inline half so the bleed grid's
   own gutter track is the single source of side air. */
.wp-block-cover.forside-seksjon,
.wp-block-cover.forside-hero {
    padding-inline: 0;
}

/* Repaint every cover scrim by hand: opacity 1 plus a gradient carrying its
   own alpha beats a flat dim and lets light fall directionally. */
.forside-hero span.wp-block-cover__background.has-background-dim,
.forside-seksjon span.wp-block-cover__background.has-background-dim {
    /* !important: the editor writes the image's average colour as an inline
       style on every image pick; only !important beats inline. */
    background-color: transparent !important;
    opacity: 1;
}

.forside-seksjon h2 {
    text-wrap: balance;
}

.forside-seksjon p {
    text-wrap: pretty;
}

/* Light leak as chapter divider - only ever over a dark scene. */
.forside-handverk::before,
.forside-ritual::before,
.forside-kjop::before {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    height: 4.5em;
    background-image: linear-gradient(95deg, transparent 4%, var(--roll-halation) 26%, var(--roll-leak) 52%, transparent 88%);
    mask-image: linear-gradient(to bottom, #000, transparent);
    mix-blend-mode: screen;
    opacity: 0.55;
    pointer-events: none;
    z-index: 3;
}

/* ---------------------------------------------------------------------- */
/* 01 - hero: a Numedal morning on the roll, purchase in the burnt corner   */
/* ---------------------------------------------------------------------- */

/* The morning fills the frame; everything she reads and clicks gathers in
   one dark corner, the burnt end of the roll (shadow turns to ember before
   it turns to light). forside-2c2.js lays a halation shader over the cover
   image: highlights bloom, a wide leak crosses every 40 s, the pointer
   warms the glow. Without WebGL the cover photo stands as is. */

.wp-block-cover.forside-hero {
    /* The site header sits above the hero, not over it: fill what is left. */
    min-height: calc(100vh - var(--header-height, 4em));
    min-height: calc(100svh - var(--admin, 0px) - var(--header-height, 4em));
    flex-direction: column;
    align-items: stretch;
    padding-block: 2.5em clamp(1.6em, 4vh, 2.8em);
    color: var(--color-cream-100);
    background-color: var(--color-brown-900);
}

.forside-hero .wp-block-cover__image-background {
    object-position: 50% 45%;
}

/* The shader canvas sits on the photo, under the scrim. */
.forside-hero .film-lys {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.forside-hero.has-film-lys .film-lys {
    opacity: 1;
}

.wp-block-cover.forside-hero .wp-block-cover__background.has-background-dim.has-background-dim-0 {
    opacity: 1;
    z-index: 1;
}

.forside-hero .wp-block-cover__background {
    background-image:
        radial-gradient(ellipse 70% 80% at 0% 100%, hsla(18, 70%, 8%, 0.94) 0%, hsla(14, 65%, 12%, 0.8) 32%, hsla(16, 75%, 30%, 0.42) 52%, hsla(24, 90%, 50%, 0.12) 64%, transparent 76%),
        linear-gradient(180deg, hsla(40, 80%, 90%, 0.3), transparent 22%);
}

.forside-hero > .wp-block-cover__inner-container {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr);
    column-gap: 2em;
    flex: 1;
    position: relative;
    z-index: 2;
    padding-inline: var(--roll-gutter);
}

.forside-hero > .wp-block-cover__inner-container > .hjorne {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    display: grid;
    gap: 1.2em;
    max-width: 38em;
    container-type: inline-size; /* the title below is capped by this column */
}

.forside-hero .hjorne > * {
    margin-block: 0;
}

.forside-hero h1.wp-block-heading {
    /* exception: the theme's page-title step, capped at 1/8 of the column. "RETT FRA KILDEN" is 7.8em wide; where the two-column hero is narrow (about 1000 to 1300 px) and on phones under 375 px the step outgrows the column and the three lines become five */
    font-size: min(var(--step-5), 12.5cqi);
    max-width: 12em;
    text-wrap: balance;
    color: var(--color-cream-100);
    text-shadow: 0 0.04em 0.4em hsla(22, 60%, 6%, 0.25);
}

.forside-hero .undertittel {
    max-width: 26em;
    font-weight: 300;
    color: hsl(34, 48%, 85%);
}

/* Buttons: feed the theme's wiring. Cream kraft label on the dark corner. */
.forside-hero .wp-block-buttons {
    gap: 0.5em;
}

.forside-hero .hero-kjop {
    --button-fill: linear-gradient(145deg, var(--color-cream-200), var(--color-cream-500));
    --button-ink: var(--color-brown-900);
    --button-line: transparent;
    margin-block-start: 0.35em;
}

.forside-hero .wp-block-button__link {
    /* exception: a button label; buttons keep their own sizes until the button work (myrvann#13) */
    font-size: 0.86em;
    line-height: var(--line-height-ui, 1.1);
    text-transform: var(--text-transform-ui, uppercase);
}

.wp-block-cover.forside-hero .hero-kjop .wp-block-button .wp-block-button__link {
    font-weight: var(--font-weight-action-strong, var(--font-weight-ui-strong, 600));
    /* exception: a button label; buttons keep their own sizes until the button work (myrvann#13) */
    letter-spacing: var(--letter-spacing-action, 0.14em);
    line-height: var(--line-height-action, 1.1);
    color: var(--color-brown-900);
    background: linear-gradient(145deg, var(--color-cream-200), var(--color-cream-500));
    border-color: transparent;
}

.wp-block-cover.forside-hero .hero-kjop .wp-block-button .wp-block-button__link:hover {
    background: linear-gradient(145deg, var(--color-cream-100), var(--color-cream-400));
    filter: none;
}

.forside-hero .hero-kjop .wp-block-button__link {
    min-height: 3.3em;
    padding: 0.85em 1.7em 0.8em;
    box-shadow: var(--btn-edge-light), 0 0.6em 1.4em -0.7em hsla(22, 60%, 4%, 0.7);
}

.forside-hero .hero-kjop .wp-block-button__link::after {
    content: "";
    width: 1.1em;
    height: 1.1em;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.forside-hero .hero-kjop .wp-block-button__link:hover::after {
    transform: translateX(0.2em);
}

.forside-hero .hero-kjop .wp-block-button__link:active {
    box-shadow: var(--btn-edge-light-pressed);
}

.wp-block-cover.forside-hero .wp-block-button.is-style-outline > .wp-block-button__link {
    font-size: 0.74em; /* exception: a button label; buttons keep their own sizes until the button work (myrvann#13) */
    min-height: 2.6em;
    padding: 0.6em 0.95em 0.55em;
    color: hsl(30, 40%, 88%);
    background: transparent;
    border: 1px solid hsla(30, 40%, 88%, 0.55);
}

.wp-block-cover.forside-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover {
    border-color: hsl(30, 40%, 88%);
    background: hsla(30, 40%, 88%, 0.08);
}

.forside-hero .wp-block-button__link:focus-visible {
    outline: 2px solid var(--color-spice-light);
    outline-offset: 3px;
}

/* Beate: a caption on the light, top right. Verbatim, attributed. */
.forside-hero .hero-sitat {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    max-width: 16em;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
    color: var(--color-brown-900);
}

.wp-block-cover.forside-hero .wp-block-quote.hero-sitat,
.wp-block-cover.forside-hero .hero-sitat :is(p, cite) {
    color: var(--color-brown-900);
}

.forside-hero .hero-sitat p {
    margin: 0;
    font-family: var(--font-family-quote, var(--font-family-voice, var(--font-family-heading, var(--font-family-system))));
    font-style: var(--font-style-quote, italic);
}

.forside-hero .hero-sitat::before,
.forside-hero .hero-sitat::after {
    content: none;
}

.forside-hero .hero-sitat p::before { content: "\00AB"; }
.forside-hero .hero-sitat p::after { content: "\00BB"; }

.forside-hero .hero-sitat cite {
    display: block;
    margin-top: 0.35em;
    font-family: var(--font-family-cite, var(--font-family-ui, var(--font-family-system)));
    font-style: var(--font-style-cite, normal);
    font-weight: var(--font-weight-cite, var(--font-weight-ui, 500));
    text-transform: var(--text-transform-cite, uppercase);
}

@media (max-width: 52em) {
    .wp-block-cover.forside-hero {
        padding-block-end: 2.2em;
    }

    .forside-hero .wp-block-cover__background {
        background-image: linear-gradient(180deg, hsla(40, 80%, 90%, 0.25) 0%, transparent 28%, hsla(16, 75%, 30%, 0.4) 44%, hsla(14, 65%, 12%, 0.85) 62%, hsla(18, 70%, 8%, 0.96) 80%);
    }

    .forside-hero > .wp-block-cover__inner-container {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
    }

    /* On a phone Beate follows the purchase, inside the dark band. */
    .forside-hero .hero-sitat {
        grid-column: 1;
        grid-row: 2;
        align-self: end;
        justify-self: start;
        max-width: 24em;
        margin-block-start: 1.3em;
        padding-block-start: 1.1em;
        border-block-start: 1px solid hsla(32, 35%, 80%, 0.22);
        text-align: left;
    }

    .wp-block-cover.forside-hero .wp-block-quote.hero-sitat,
    .wp-block-cover.forside-hero .hero-sitat :is(p, cite) {
        color: hsl(32, 35%, 80%);
    }

    .forside-hero .hero-kjop .wp-block-button,
    .forside-hero .hero-kjop .wp-block-button__link {
        width: 100%;
        justify-content: space-between;
    }
}

/* ---------------------------------------------------------------------- */
/* 02 - morgen: one frame, enormous quiet                                  */
/* ---------------------------------------------------------------------- */

.forside-morgen {
    background-color: var(--roll-paper);
    color: #2a2118;
    padding-block: var(--air-long); /* "enormous quiet": this page's long breath */
}

.forside-morgen .morgenoppslag {
    grid-column: wide;
    display: grid;
    row-gap: 1.6em;
    padding-block-start: var(--air-line);
}

.forside-morgen .morgenramme {
    position: relative;
    margin-block: 0;
}

.forside-morgen figure.morgenramme img { /* figure: outranks Ousia's .alignfull img { max-height: 100vh }, which loads later */
    display: block;
    width: 100% !important; /* the block's resize writes an inline width:326px */
    height: auto;
    max-height: 85vh; /* a portrait print: the frame stays on one screen, cropped around the cup */
    object-fit: cover;
    object-position: 50% 35%;
    filter: saturate(0.86) contrast(1.06) sepia(0.1);
}

/* Crop marks - the frame is mounted, not printed to the edge. */
.forside-morgen .morgenramme::before {
    content: "";
    position: absolute;
    inset: -1.15em;
    pointer-events: none;
    --m: color-mix(in oklab, currentColor 45%, transparent);
    background:
        linear-gradient(var(--m) 0 0) 0 0 / 1.5em 1px no-repeat,
        linear-gradient(var(--m) 0 0) 0 0 / 1px 1.5em no-repeat,
        linear-gradient(var(--m) 0 0) 100% 0 / 1.5em 1px no-repeat,
        linear-gradient(var(--m) 0 0) 100% 0 / 1px 1.5em no-repeat,
        linear-gradient(var(--m) 0 0) 0 100% / 1.5em 1px no-repeat,
        linear-gradient(var(--m) 0 0) 0 100% / 1px 1.5em no-repeat,
        linear-gradient(var(--m) 0 0) 100% 100% / 1.5em 1px no-repeat,
        linear-gradient(var(--m) 0 0) 100% 100% / 1px 1.5em no-repeat;
}

.forside-morgen .morgenramme::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--roll-grain);
    background-size: 140px 140px;
    mix-blend-mode: multiply;
    opacity: 0.2;
    pointer-events: none;
}

.forside-morgen .morgenlinje {
    margin-block: 0;
}

.forside-morgen .morgenlinje::first-letter {
    float: left;
    /* exception: a drop cap, sized and seated against its own paragraph */
    font-size: 3.1em;
    line-height: 0.78;
    padding-inline-end: 0.1em;
    color: var(--roll-rust);
}

/* Review 2 - a note taped to the print. */
.forside-morgen .fortellerboks {
    position: relative;
    justify-self: start;
    padding: 1.6em 1.5em 1.4em;
    background-color: #fbf7ee;
    box-shadow: 0 1.4em 2.6em -1.4em rgba(42, 33, 24, 0.55);
    transform: rotate(-1.1deg);
}

.forside-morgen .fortellerboks::before {
    content: "";
    position: absolute;
    inset-block-start: -0.7em;
    inset-inline-start: 22%;
    width: 5.5em;
    height: 1.4em;
    background-color: rgba(240, 180, 90, 0.42);
    transform: rotate(-2.4deg);
}

@media (min-width: 52em) {
    .forside-morgen .morgenoppslag {
        grid-template-columns: repeat(12, 1fr);
        row-gap: 0;
    }

    .forside-morgen .morgenramme {
        grid-column: 1 / 9;
    }

    .forside-morgen .morgenlinje {
        grid-column: 6 / 13;
        align-self: end;
        margin-block-start: -3.5em;
        padding: 2em 2.2em;
        background-color: color-mix(in oklab, #fbf7ee 92%, transparent);
        backdrop-filter: blur(2px);
    }

    /* the note drifts under the caption card it was taped beside */
    .forside-morgen .fortellerboks {
        margin-block-start: -1.5em;
        transform: rotate(-1.1deg) translateX(1.5em);
    }
}

/* Desktop: the print is tall, so the notes are pinned beside it instead of
   stacked under it - print on the left, caption high and review low in the
   column to its right. The review is a sibling of .morgenoppslag, so the
   spread dissolves (display: contents) and print, caption and review sit on
   the section grid itself: the notes stack in flow and never overlap. */
@media (min-width: 80em) {
    .forside-morgen {
        --morgen-print: min(34em, 40vw);
        --morgen-gap: clamp(2em, 3.5vw, 3.5em);
        --morgen-tuck: 2.5em; /* how far the caption laps over the print edge */
        grid-template-columns:
            [full-start] minmax(var(--roll-gutter), 1fr)
            [wide-start print-start] var(--morgen-print) [print-end]
            var(--morgen-gap)
            [notes-start] minmax(0, calc(var(--wide-width) - var(--morgen-print) - var(--morgen-gap))) [notes-end wide-end]
            minmax(var(--roll-gutter), 1fr) [full-end];
        grid-template-rows: auto auto auto 1fr;
    }

    .forside-morgen > .wp-block-heading {
        grid-column: wide;
    }

    .forside-morgen .morgenoppslag {
        display: contents;
    }

    .forside-morgen .morgenramme {
        grid-column: print;
        grid-row: 2 / span 3;
        z-index: 0;
        margin-block-start: 1.4em;
    }

    .forside-morgen .morgenlinje {
        grid-column: notes;
        grid-row: 2;
        position: relative;
        z-index: 1;
        justify-self: start;
        max-width: 26rem;
        margin-block-start: clamp(4em, 12vh, 8em);
        margin-inline-start: calc(var(--morgen-tuck) * -1 - var(--morgen-gap));
    }

    /* the review is taped onto the caption: its top edge laps over the
       caption's foot, so the tape strip bridges the two papers */
    .forside-morgen .fortellerboks {
        grid-column: notes;
        grid-row: 3;
        z-index: 2;
        justify-self: start;
        max-width: 28rem;
        margin-block-start: calc(var(--roll-row) * -1 - 1.6em);
        transform: rotate(1.4deg) translateX(1.5em);
    }
}

/* ---------------------------------------------------------------------- */
/* 03 - handverk: the text is inset into the scene                         */
/* ---------------------------------------------------------------------- */

.forside-handverk {
    background-color: var(--roll-base);
    color: var(--roll-ink);
}

.forside-handverk .wp-block-cover__image-background {
    filter: saturate(1.12) contrast(1.05);
    object-position: 72% center;   /* the farmer stands right of the copy */
}

.forside-handverk .wp-block-cover__background {
    background-image:
        linear-gradient(90deg, rgba(14, 11, 8, 0.94) 0%, rgba(14, 11, 8, 0.84) 36%, rgba(14, 11, 8, 0.3) 62%, transparent 82%),
        linear-gradient(to bottom, rgba(14, 11, 8, 0.55), transparent 30%, transparent 70%, rgba(14, 11, 8, 0.65));
}

/* Text straight on the scene: no box. Behind the text alone sits a faint
   blur whose edges are feathered away. The selector matches the bleed grid's
   margin reset (0,5,0) so the feather's negative margin wins; the feather
   never exceeds the side gutter. */
.forside-seksjon.forside-handverk > .wp-block-cover__inner-container > .wp-block-group.handverk-innskrift {
    --feather: min(2.2em, var(--roll-gutter));
    margin-inline: calc(var(--feather) * -1);
    padding: var(--feather);
    background-color: rgba(14, 11, 8, 0.28);
    backdrop-filter: blur(2.5px);
    mask-image:
        linear-gradient(to right, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent),
        linear-gradient(to bottom, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent);
    mask-composite: intersect;
}

.forside-handverk .handverk-innskrift p {
    margin-block: 0 0.9em;
}

.forside-handverk .handverk-innskrift p:last-child {
    margin-block-end: 0;
}

.forside-handverk .peker {
    font-family: var(--font-family-caption, var(--font-family-body, var(--font-family-system)));
    color: var(--roll-silver);
}

.forside-handverk .peker a {
    color: var(--roll-leak);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.35em;
    white-space: nowrap;
}

/* Review 3 - a 35mm slide in its mount. The mount's frame-number caption is
   gone with the rest of the frame chrome; the attribution signature now sits
   in that band. */
.forside-handverk .sitatkort {
    padding: 1.2em;
    background-color: #f6f2e8;
    color: #221c14;
    box-shadow: 0 1.8em 3.4em -1.6em rgba(0, 0, 0, 0.8);
    position: relative;
}

@media (min-width: 60em) {
    .forside-handverk > .wp-block-cover__inner-container {
        grid-template-columns:
            [full-start] minmax(var(--roll-gutter), 1fr)
            [text-start] minmax(0, calc(var(--font-size) * 30)) [text-end]
            minmax(var(--roll-gutter), 0.55fr)
            [aside-start] minmax(0, calc(var(--font-size) * 17)) [aside-end]
            minmax(var(--roll-gutter), 1fr) [full-end];
    }

    .forside-handverk .sitatkort {
        grid-column: aside;
        grid-row: 1 / 4;
        align-self: end;
    }
}

/* ---------------------------------------------------------------------- */
/* 04 - skogen: digital stock, layered full bleed, no grain                */
/* ---------------------------------------------------------------------- */

/* A saturated fern-green field crossed by one faint shaft of light, sinking
   into canopy darkness at the bottom of the section. */
.forside-skogen {
    background-color: #143a22;
    background-image:
        linear-gradient(104deg, transparent 32%, color-mix(in oklab, var(--roll-chloro) 16%, transparent) 46%, transparent 60%),
        linear-gradient(to bottom, #10301b, #17432a 45%, #12301b 70%, #0a140d);
    color: #e4efe1;
}

.forside-skogen :is(.skogbunn, .hos-bonden, .amazonas-portrett) img {
    box-shadow: 0 1.6em 3em -1.4em rgba(0, 0, 0, 0.7);
}

.forside-skogen .jungel-lag {
    grid-column: full;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding-block: var(--air-line) 0;
}

.forside-skogen .jungel-lag > * {
    grid-column: 1 / -1;
    margin-block: 0;
    min-width: 0;
}

.forside-skogen :is(.skogbunn, .hos-bonden, .amazonas-portrett) img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(1.2) contrast(1.06);
}

/* No panel. The copy sits on the canopy ground itself, so nothing has to be
   blurred out of the way of a photograph - the photographs keep their columns
   and the text takes the negative space beside them. Stacked, the copy binds
   to the photograph above it (one line) and a group follows it. */
.forside-skogen :is(.skogbunn-tekst, .gard-tekst) {
    padding: var(--air-line) var(--roll-gutter) var(--air-group);
}

.forside-skogen .land-liste {
    grid-column: wide;
    padding-block-start: 1.4em;
    border-block-start: 1px solid var(--roll-hair);
    font-family: var(--font-family-label, var(--font-family-ui, var(--font-family-system)));
    font-weight: var(--font-weight-label, var(--font-weight-ui, 400));
    letter-spacing: var(--letter-spacing-label, 0.3em); /* exception: a label by class, set wide as edge print; follows the label route when it is filled */
    text-transform: var(--text-transform-label, uppercase);
    color: color-mix(in oklab, var(--roll-chloro) 70%, #ffffff);
}

@media (min-width: 52em) {
    /* Photograph and copy share a row and alternate sides; each frame still
       bleeds to its own edge of the viewport, so the spread stays. */
    .forside-skogen .jungel-lag {
        row-gap: var(--air-group);
        align-items: center;
    }

    .forside-skogen :is(.skogbunn-tekst, .gard-tekst) {
        padding-block: 0;
    }

    .forside-skogen .skogbunn {
        grid-column: 1 / 7;
        grid-row: 1;
    }

    .forside-skogen .skogbunn-tekst {
        grid-column: 7 / 13;
        grid-row: 1;
    }

    .forside-skogen .hos-bonden {
        grid-column: 6 / 13;
        grid-row: 2;
    }

    .forside-skogen .gard-tekst {
        grid-column: 1 / 6;
        grid-row: 2;
    }

    .forside-skogen .amazonas-portrett {
        grid-column: 3 / 11;
        grid-row: 3;
    }
}

/* ---------------------------------------------------------------------- */
/* 05 - sopp: specimen plates on a sheet, mycelium as watermark            */
/* ---------------------------------------------------------------------- */

.forside-sopp {
    background-color: var(--roll-plate);
    color: #2b2620;
    --matrix-gap: clamp(1em, 2.6vw, 2.2em);
    --mid-span: 2;
    --base-span: 4;
}

/* dimRatio is 0, so the whole treatment of the ground is here: the photo is
   pulled down to a printed watermark and composited to two masks at once. */
.forside-sopp .wp-block-cover__image-background {
    filter: grayscale(1) contrast(1.45) brightness(1.12);
    mix-blend-mode: multiply;
    opacity: 0.24;
    mask-image:
        radial-gradient(125% 95% at 50% 112%, #000 10%, transparent 74%),
        linear-gradient(to bottom, transparent 2%, #000 38%);
    mask-composite: intersect;
}

.forside-sopp .dosering {
    color: color-mix(in oklab, currentColor 78%, transparent);
}

.forside-sopp .sopp-grid {
    grid-column: wide;
    padding-block-start: var(--air-line);
}

/* --wide-width is exactly 62em, which is exactly the step where the parent's
   grid-matrix hands the cells back their own track - so a wide-placed matrix
   sits on the boundary and loses the four-up to a rounding hair. Claim the
   step a little earlier, from inside the grid's own container. */
@container (min-width: 55em) {
    .forside-sopp .sopp-plate {
        grid-column: auto;
    }
}

/* The mycelium ground darkens toward the bottom of the section, so the plate
   reads name-first and the illustration takes the foot of the card: a column
   flow with the figure ordered last, leaving markup order (and the reading
   order) untouched. */
.forside-sopp .sopp-plate {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5em 1.3em;
    border: 1px solid color-mix(in oklab, currentColor 22%, transparent);
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
}

/* auto start margin, so a three-line description does not drop its specimen
   below the neighbouring ones - the four illustrations keep one baseline */
.forside-sopp .soppfigur {
    order: 1;
    margin-block: auto 0;
    padding-block-start: 1.2em;
    background-image: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), transparent 76%);
}

/* Watercolour on transparent ground: multiply sinks it into the sheet. */
.forside-sopp .soppfigur img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.forside-sopp .sopp-plate h3 {
    margin-block: 0 0.3em;
}

.forside-sopp .sopp-plate p {
    margin-block: 0;
    color: color-mix(in oklab, currentColor 76%, transparent);
}

.forside-sopp .sopp-plate em {
    font-family: var(--font-family-caption, var(--font-family-body, var(--font-family-system)));
}

/* Paper tooth rather than film grain - same sheet, different substrate. */
.forside-sopp::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--roll-grain);
    background-size: 200px 200px;
    mix-blend-mode: multiply;
    opacity: 0.09;
    pointer-events: none;
    z-index: 3;
}

/* ---------------------------------------------------------------------- */
/* 06 - ritual: safelight, three words, a numbered ledger                  */
/* ---------------------------------------------------------------------- */

.forside-ritual {
    background-color: var(--roll-safelight);
    color: #f6e6d2;
    --matrix-gap: clamp(1.2em, 3vw, 2.4em);
    --base-span: 2;
    background-image: radial-gradient(90% 60% at 50% 0%, rgba(255, 61, 110, 0.16), transparent 70%);
}

.forside-ritual .takt {
    grid-column: wide;
    font-weight: var(--font-weight-voice, var(--font-weight-heading, 400));
    letter-spacing: var(--letter-spacing-voice, -0.02em); /* exception: the one big voice line is drawn tight */
    word-spacing: 0.18em;
    text-align: center;
    padding-block: 0.45em;
    border-block: 1px solid var(--roll-hair);
    color: var(--roll-amber);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12), 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.forside-ritual .stegene {
    counter-reset: steg;
    list-style: none;
    padding-inline-start: 0;
}

.forside-ritual .stegene li {
    counter-increment: steg;
    display: grid;
    grid-template-columns: minmax(2.8em, auto) 1fr;
    column-gap: 1.3em;
    align-items: baseline;
    padding-block: 1.15em;
    border-block-start: 1px solid var(--roll-hair-soft);
}

.forside-ritual .stegene li::before {
    content: counter(steg);
    font-family: var(--font-family-number, var(--font-family-mark, var(--font-family-heading, var(--font-family-system))));
    font-weight: var(--font-weight-number, var(--font-weight-mark, var(--font-weight-heading, 400)));
    /* exception: a step numeral drawn by a CSS counter, sized against its list item */
    font-size: 1.5em;
    line-height: var(--line-height-number, 1);
    letter-spacing: var(--letter-spacing-number, 0.02em);
    color: var(--roll-amber);
}

.forside-ritual .stegene li:last-child {
    border-block-end: 1px solid var(--roll-hair-soft);
}

.forside-ritual .aerlig {
    padding-inline-start: 1.4em;
    border-inline-start: 1px solid var(--roll-halation);
    color: color-mix(in oklab, currentColor 76%, transparent);
}

/* ---------------------------------------------------------------------- */
/* 08 - numedal: the roll comes home, on a light table                     */
/* ---------------------------------------------------------------------- */

.forside-numedal {
    background-color: var(--roll-table);
    color: #1d211f;
    background-image: radial-gradient(80% 55% at 50% 42%, rgba(255, 255, 255, 0.6), transparent 72%);
}

.forside-numedal .martin {
    grid-column: wide;
    padding-inline-start: 1.6em;
    border-inline-start: 3px solid var(--roll-rust);
    margin-block: 0.6em;
}

.forside-numedal .martin p {
    font-family: var(--font-family-quote, var(--font-family-voice, var(--font-family-heading, var(--font-family-system))));
    font-style: var(--font-style-quote, italic);
    margin-block: 0;
}

.forside-numedal .martin cite {
    display: block;
    font-family: var(--font-family-cite, var(--font-family-ui, var(--font-family-system)));
    font-style: var(--font-style-cite, normal);
    font-weight: var(--font-weight-cite, var(--font-weight-ui, 400));
    text-transform: var(--text-transform-cite, uppercase);
    padding-block-start: 1.1em;
    color: var(--roll-rust);
}

.forside-numedal .martin cite::before {
    content: "\2014\00a0";
}

.forside-numedal .dalen {
    grid-column: wide;
    position: relative;
    margin-block: var(--air-line);
    padding: 0.9em 0.9em 3.2em;
    background-color: #fbfaf6;
    box-shadow: 0 2em 4em -2em rgba(29, 33, 31, 0.75);
    transform: rotate(-0.5deg);
}

.forside-numedal .dalen img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(0.9) contrast(1.05) sepia(0.08);
}

.forside-numedal .dalen figcaption {
    font-family: var(--font-family-caption, var(--font-family-body, var(--font-family-system)));
    padding-block-start: 0.8em;
}

/* The contact strip: a real strip of film laid across the table. Sprocket
   rails are painted as the scroll container's own background, so they stay
   put while the frames advance. */
.forside-numedal .filmrull {
    grid-column: full;
    align-items: stretch;
    gap: clamp(0.5em, 1.4vw, 1em);
    margin-block: var(--air-line);
    padding: 1.5em var(--roll-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--roll-gutter);
    scrollbar-width: thin;
    scrollbar-color: var(--roll-leak) transparent;
    background-color: transparent;
    background-image:
        var(--roll-perf),
        var(--roll-perf),
        linear-gradient(var(--roll-base) 0 0);
    background-repeat: repeat-x, repeat-x, no-repeat;
    background-position: left top, left bottom, left 0.85em;
    background-size: 1.75em 0.85em, 1.75em 0.85em, 100% calc(100% - 1.7em);
}

.forside-numedal .filmbilde {
    flex: 0 0 auto;
    display: grid;
    grid-template-rows: 1fr auto;
    width: clamp(15em, 64vw, 26em);
    margin-block: 0;
    scroll-snap-align: center;
}

.forside-numedal .filmbilde img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.07) sepia(0.1);
}

/* Review 9 - one line of edge print under the strip, no box at all. */
.forside-numedal .sitatlinje {
    grid-column: wide;
    font-family: var(--font-family-quote, var(--font-family-voice, var(--font-family-heading, var(--font-family-system))));
    font-style: var(--font-style-quote, italic);
    padding-block: 1.4em;
    border-block: 1px solid var(--roll-hair-soft);
}

/* The review as the page's pull quote. */
.forside-numedal .sitatlinje .kaupang-review__body {
    font-size: var(--step-3); /* exception: a plugin block with no size picker; step 3, its leading is the review style's own */
}

/* the quote style centres its own box and text at 0,2,0 and the theme is
   enqueued after this file, so the class is carried to take the line back */
.forside-numedal .sitatlinje.is-style-quote {
    align-items: flex-start;
    text-align: start;
}

/* the class is carried again: the quote style centres its own read-more */
.forside-numedal .sitatlinje.is-style-quote :is(button, summary) {
    align-self: start;
    font-family: var(--font-family-ui, var(--font-family-system));
    font-style: var(--font-style-ui, normal);
    font-weight: var(--font-weight-ui, 400);
    /* exception: the plugin's read-more, no block to pick on: micro, tracked as ui */
    font-size: 0.68em;
    letter-spacing: var(--letter-spacing-ui, 0.18em);
    text-transform: var(--text-transform-ui, uppercase);
    color: var(--roll-rust);
}

.forside-numedal::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--roll-grain);
    background-size: 140px 140px;
    mix-blend-mode: multiply;
    opacity: 0.14;
    pointer-events: none;
    z-index: 3;
}

/* ---------------------------------------------------------------------- */
/* 09 - kjop: end of reel                                                  */
/* ---------------------------------------------------------------------- */

.forside-kjop {
    background-color: var(--roll-base);
    color: var(--roll-ink);
    --button-fill: var(--roll-ink);   /* the brightest thing on the page, last */
    --button-ink: var(--roll-base);
    --button-line: transparent;
}

.forside-kjop .wp-block-cover__image-background {
    filter: saturate(1.25) contrast(1.05);
}

.forside-kjop .wp-block-cover__background {
    background-image:
        linear-gradient(to bottom, rgba(22, 18, 14, 0.94), rgba(22, 18, 14, 0.72) 45%, rgba(22, 18, 14, 0.5) 75%, rgba(22, 18, 14, 0.38));
}

/* The footer is pulled up over the last section by --footer-canopy-height,
   and the theme pads that last section's bottom by the same amount (an ID
   selector, so page CSS can't move it). The inner container adds one more
   canopy of air under the CTA, and the image runs to the bottom edge, so
   the torn canopy cuts into the burned film, never into the button. */
.wp-block-cover.forside-seksjon.forside-kjop {
    min-height: 90vh;
}

.wp-block-cover.forside-kjop > .wp-block-cover__inner-container {
    position: static;   /* the leak positions against the cover, edge to edge */
    padding-block-end: var(--footer-canopy-height, 80px);
}

.wp-block-cover.forside-kjop > img.wp-block-cover__image-background {
    height: 100%;
    max-height: none;
}

.forside-kjop .punktum {
    font-weight: var(--font-weight-voice, var(--font-weight-heading, 400));
    font-style: var(--font-style-voice, italic);
    text-wrap: balance;
}

.forside-kjop .sluttlinje {
    font-family: var(--font-family-caption, var(--font-family-body, var(--font-family-system)));
    letter-spacing: var(--letter-spacing-caption, 0.12em); /* exception: the closing line is set wide; follows the caption route when it is filled */
    color: var(--roll-silver);
}

.forside-kjop .wp-block-buttons {
    padding-block: 0.6em;
}

/* Burned-out reel: the last frame is not a photograph but the leak itself,
   burning through the whole section behind the copy, down to the bottom
   edge where the footer canopy cuts in. */
.forside-kjop .lyslekkasje {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    z-index: 1;
    opacity: 0.55;
    mix-blend-mode: screen;
    mask-image: linear-gradient(to bottom, transparent 5%, #000 55%, #000);
    pointer-events: none;
}

/* .wp-block-image is carried so the fill out-weighs the theme's rule for
   images inside an alignfull section. That rule also caps the image at the
   window's height (max-height: 100vh): lifted here, or the leak stops short
   of the footer's ridge whenever this section is taller than the window. */
.forside-kjop .lyslekkasje.wp-block-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    filter: saturate(1.5) brightness(1.05);
}

.forside-kjop > .wp-block-cover__inner-container > :not(.lyslekkasje) {
    position: relative;
    z-index: 2;
}

/* The hero's cream kraft CTA, closing the page as it opened it. */
.wp-block-cover.forside-kjop .wp-block-buttons .wp-block-button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    min-height: 3.3em;
    padding: 0.85em 1.7em 0.8em;
    color: var(--color-brown-900);
    background: linear-gradient(145deg, var(--color-cream-200), var(--color-cream-500));
    border-color: transparent;
    box-shadow: var(--btn-edge-light), 0 0.6em 1.4em -0.7em hsla(22, 60%, 4%, 0.7);
    text-transform: var(--text-transform-action, uppercase);
    /* exception: a button label; buttons keep their own sizes until the button work (myrvann#13) */
    font-size: 0.86em;
    letter-spacing: var(--letter-spacing-action, 0.14em);
    line-height: var(--line-height-action, 1.1);
}

.wp-block-cover.forside-kjop .wp-block-buttons .wp-block-button .wp-block-button__link:hover {
    background: linear-gradient(145deg, var(--color-cream-100), var(--color-cream-400));
    filter: none;
}

.wp-block-cover.forside-kjop .wp-block-buttons .wp-block-button .wp-block-button__link:active {
    box-shadow: var(--btn-edge-light-pressed);
}

.forside-kjop .wp-block-button__link::after {
    content: "";
    width: 1.1em;
    height: 1.1em;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.forside-kjop .wp-block-button__link:hover::after {
    transform: translateX(0.2em);
}

.forside-kjop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--roll-grain);
    background-size: 140px 140px;
    mix-blend-mode: overlay;
    opacity: 0.15;
    pointer-events: none;
    z-index: 4;
}

/* ---------------------------------------------------------------------- */
/* The signature - one attribution treatment across all nine reviews       */
/* ---------------------------------------------------------------------- */

/* Nine vessels, one signature. The containers stay as varied as they were;
   what makes the page read as testimony rather than decoration is that the
   name is set identically every time - same edge-print voice, same rule
   above it, same place under the body, same scale, and an ink taken as a
   fixed step off the vessel's own currentColor so the relationship to the
   ground is the same on film base, on cream card and on the light table.
   Nothing here turns on block metadata: no stars, no avatar, no date.

   Each style variation inks and sets its own attribution at 0,3,0 and the
   theme is enqueued after this file, so the selectors carry the variation
   class to reach 0,4,0. That is the whole reason for their length. */
.kaupang-review.wp-block-kaupang-review-images-curated-review:is(.is-style-quote, .is-style-stacked, .is-style-compact) .kaupang-review__author {
    display: flex;
    align-items: center;
    gap: 0.7em;
    order: 7;              /* compact orders the footer first; put it back under the body */
    width: 100%;           /* and takes it off the body's own line */
    margin-block-start: 1.1em;
    padding-block-start: 0.85em;
    border-block-start: 1px solid var(--roll-hair);
    /* the stacked variation inks the footer from --link-color; take the ink
       back off the vessel so --roll-hair and the name both step off one ground */
    color: inherit;
    /* the size is taken off --font-size, not the vessel's own em, so every review style renders one attribution */
    /* exception: plugin markup with no block to pick on: micro */
    font-size: calc(var(--font-size) * 0.68);
    text-align: start;
}

/* the rule that carries the eye from body to name */
.kaupang-review.wp-block-kaupang-review-images-curated-review:is(.is-style-quote, .is-style-stacked, .is-style-compact) .kaupang-review__author::before {
    content: "";
    flex: 0 0 auto;
    width: 1.5em;
    height: 1px;
    background-color: currentColor;
    opacity: 0.55;
}

.kaupang-review.wp-block-kaupang-review-images-curated-review:is(.is-style-quote, .is-style-stacked, .is-style-compact) .kaupang-review__author-name {
    font-family: var(--font-family-cite, var(--font-family-ui, var(--font-family-system)));
    font-style: var(--font-style-cite, normal);
    font-weight: var(--font-weight-cite, var(--font-weight-ui, 400));
    /* exception: plugin markup: cancels the review style's own em so the footer's micro holds, cite tracking */
    font-size: 1em;
    letter-spacing: var(--letter-spacing-cite, 0.2em);
    text-transform: var(--text-transform-cite, uppercase);
    color: color-mix(in oklab, currentColor 85%, transparent);
}

/* ---------------------------------------------------------------------- */
/* Shared media details                                                    */
/* ---------------------------------------------------------------------- */

.forside-seksjon figure {
    margin-block: 0;
}

/* Review photography rides the stock of the scene it sits in. */
.forside-morgen .fortellerboks img,
.forside-numedal .sitatlinje img {
    filter: saturate(0.88) contrast(1.05);
}

/* ---------------------------------------------------------------------- */
/* The roll advancing - decoration only, the static state is the design    */
/* ---------------------------------------------------------------------- */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .forside-skogen .jungel-lag > *,
        .forside-sopp .sopp-plate,
        .forside-morgen .morgenoppslag {
            animation: roll-advance linear both;
            animation-timeline: view();
            animation-range: entry 6% cover 28%;
        }

        @keyframes roll-advance {
            from {
                opacity: 0.4;
                transform: translateY(1.4em);
            }
            to {
                opacity: 1;
                transform: none;
            }
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .forside-morgen .fortellerboks,
    .forside-numedal .dalen {
        transform: none;
    }

    .forside-numedal .filmrull {
        scroll-behavior: auto;
    }
}

/* ---------------------------------------------------------------------- */
/* Headline voice - the mark slot: the face comes from block style Merke */
/* (was Meltow San, Rust on the hero, Regular on the sections).          */
/* Uppercase keeps the caps where a mark face has lower case.             */
/* ---------------------------------------------------------------------- */

/* Meltow is a caps face: it wants air between letters (not the negative
   tracking the serif headings used) and a tighter, even line. */
.forside-hero h1.wp-block-heading {
    font-weight: var(--font-weight-mark, var(--font-weight-heading, 200));
    text-transform: var(--text-transform-mark, uppercase);
    letter-spacing: var(--letter-spacing-mark, 0.012em); /* exception: this page sets Merke in the light cut, which wants air; at display size a little less than the h2s */
}

.forside-seksjon h2.wp-block-heading {
    font-weight: var(--font-weight-mark, var(--font-weight-heading, 200));
    text-transform: var(--text-transform-mark, uppercase);
    letter-spacing: var(--letter-spacing-mark, 0.035em); /* exception: this page sets Merke in the light cut, which wants air */
}
