/*
 * Ampoule — Sophie Jolliton's artisan-lampshade theme.
 *
 * The design is inline-styled, exactly as it came out of the original Claude
 * Design export. This file only carries the shared helpers the markup relies
 * on (page background, hover/transition states, the photo placeholder, form
 * fields) which cannot live in a style attribute, plus light prose styling for
 * blog posts written in the Ghost editor.
 */

/*
 * The two families, served from this theme rather than from Google.
 *
 * A <link> to fonts.googleapis.com sent every visitor's IP to Google before
 * they had done anything, which is the one GDPR problem a site like this
 * reliably has. Both families are OFL-licensed, so hosting the files is
 * allowed; assets/fonts/ holds them.
 *
 * They are variable fonts, so one file per subset covers every weight the
 * theme asks for. Only latin and latin-ext are vendored — the site is French,
 * and cyrillic, greek and vietnamese would be dead weight.
 *
 * The pair is the one v5 actually renders with. Its stylesheet names Syne and
 * Space Grotesk, but its runtime overwrites both from the component's props on
 * mount — the saved state is Bricolage Grotesque and Karla, which is what the
 * mockup in the zip looks like. The props win for the photo shape too.
 *
 * Changing a family here means changing --font-heading / --font-body below and
 * dropping the matching woff2 in; there is no longer a URL to keep in step.
 */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/karla-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/karla-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * The palette, from the "Accueil — refonte v5" Claude Design component.
 *
 * v5 is a flat, high-contrast design: a cream ground, deep-purple ink used for
 * text AND for every border (3px, not hairlines), and three saturated panels —
 * teal, purple, yellow — that sections sit inside whole. There is nothing to
 * derive here, unlike the palette it replaces: these are the six colours the
 * mockup names, plus the two soft purples it uses for secondary prose.
 *
 * Every template reads these with var(), so this block is the whole repaint.
 * Where a name reads oddly for this design — --band is the yellow section,
 * --active the teal — it is because the name is older than the design and
 * changing it would touch a dozen files for nothing.
 */
:root {
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Karla', sans-serif;

  --bg: #fff3e0; /* cream page ground */
  --ink: #2b1b3d; /* deep purple: text, and every border in the design */
  --accent: #e4572e; /* orange: eyebrows, prices, the announcement bar */
  --accent-light: #f5b944; /* yellow: header, buttons, accents on dark panels */
  --active: #06514f; /* teal: the hero and newsletter panels */
  --button: #f5b944;
  --button-hover: #e4572e;
  --card: #fffcf6; /* card interiors, a shade lighter than the ground */
  --band: #f5b944; /* the tinted section — yellow here */
  --border: #2b1b3d; /* borders are ink in this design */
  --footer: #fff3e0; /* the footer is cream, separated by a rule */
  --light: #fff3e0; /* text on the teal and purple panels */
  --text-on-dark: rgba(255, 243, 224, 0.78);
  --text-soft: #6b5a78; /* secondary prose on cream */
  --text-mid: #4e3f5c; /* body prose in the atelier section */
  --header-bg: #f5b944; /* solid, not translucent: the design has no blur */
  --rule: 3px; /* the design's border weight, used everywhere */
  --card-radius: 26px; /* every card, panel and framed photo */
  --pill-radius: 999px; /* every button and badge */
  /* One width for every full-bleed section and page container, and a gutter
     that stops growing. 6vw alone is ~200px a side on a 3300px monitor, and
     since the padding sits inside the max-width it was eating a third of the
     content column on the wide screens this site is actually read on. */
  --page-max: 1280px;
  --gutter: clamp(20px, 6vw, 48px);
  /* The photo silhouette. v5 offers it as a picker; these are its values, so
     switching is this one line:
       arche 999px 999px 22px 22px · dome 999px / 62% 62% 38% 38% · cercle 999px
       coin arrondi 26px · angle vif 0 · arche inversee 22px 22px 999px 999px
       goutte 999px 22px 999px 999px */
  --photo-radius: 26px;
}

* {
  box-sizing: border-box;
}

/* The nav bar is sticky, so an anchor scrolled to the top of the window would
   sit under it. Every anchor on the site stops this far down instead: the
   bar's height (79px) plus some air. Just above the breakpoint where the menu
   folds, its entries no longer fit one line and the bar grows to 126px. */
html {
  scroll-padding-top: 90px;
}

@media (min-width: 861px) and (max-width: 1000px) {
  html {
    scroll-padding-top: 140px;
  }
}

body {
  margin: 0;
  font-optical-sizing: auto;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--ink);
}

img {
  max-width: 100%;
}

/* Photo placeholder: shown until a real image is uploaded. */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a8c6e;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  background-image: repeating-linear-gradient(45deg, #e9e0cd, #e9e0cd 11px, #f1e9d9 11px, #f1e9d9 22px);
  background-color: #eee4d1;
}

/* A real image fills the same box the placeholder used to occupy. */
.gitem img,
.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.navlink {
  color: inherit;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, color .25s;
}

.navlink:hover {
  border-bottom-color: currentColor;
}

.cta {
  transition: transform .2s, box-shadow .25s, background .25s, color .25s;
  text-decoration: none;
  display: inline-block;
}

.cta:hover {
  transform: translateY(-2px);
}

.card {
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-6px);
}

.chip {
  transition: background .2s, color .2s;
  cursor: pointer;
}

.gitem {
  position: relative;
  overflow: hidden;
}

.gitem .ph {
  transition: transform .5s;
}

.gitem:hover .ph {
  transform: scale(1.05);
}

/*
 * Hover states for the Accueil, one class per `style-hover` in the design.
 *
 * The design runtime compiles `style-hover="…"` into a real `.scpN:hover` rule
 * and marks every declaration `!important`, precisely so it outranks the
 * element's own inline style. The markup here keeps the theme's inline-style
 * convention, so these rules need the same `!important` for the same reason —
 * it is not a specificity workaround but the original mechanism.
 */
.h-pill,
.h-btn,
.h-outline,
.h-outline-light,
.h-ghost,
.h-news,
.h-foot {
  transition: background .25s, color .25s, border-color .25s;
}

/* Dark pill (nav CTA, sur-mesure) → accent. */
.h-pill:hover {
  background: var(--accent) !important;
  color: var(--light) !important;
}

/* Warm primary button → its deepened tone. */
.h-btn:hover {
  background: var(--button-hover) !important;
}

/* Outlined in cream, on the teal hero → filled. */
.h-outline-light {
  padding: 16px 30px;
  border: 2px solid var(--light);
  border-radius: var(--pill-radius);
  color: var(--light);
  font-weight: 500;
  font-size: 15px;
}

.h-outline-light:hover {
  background: var(--light) !important;
  color: var(--active) !important;
}

/* Outlined button → filled. */
.h-outline:hover {
  background: var(--ink) !important;
  color: var(--light) !important;
}

/* Quiet bordered button (event cards) → accent, outline and label together. */
.h-ghost:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* Newsletter button on the dark band. */
.h-news:hover {
  background: var(--accent) !important;
  color: var(--light) !important;
}

/* Footer links: the colour alone marks the hover, without .navlink's
   underline. */
.h-foot:hover {
  color: var(--accent-light) !important;
  border-bottom-color: transparent;
}

/*
 * Accueil layout — the parts of the v5 look a style attribute cannot hold: the
 * photo silhouette, the striped ground behind it, and the three cards, which
 * are built out of a Koenig stream and so have no wrapper to hang on.
 */

/* The photo silhouette, --photo-radius in the palette. */
.v5-photo {
  position: relative;
  border-radius: var(--photo-radius);
  overflow: hidden;
}

/* The striped ground a photo stands on, so an empty slot still reads as part
 * of the design rather than as a hole. 130deg and 18/36px are the mockup's. */
.v5-bordered {
  border: var(--rule) solid var(--ink);
}

/* The atelier portrait's ground. */
.v5-stripe-sage {
  background: repeating-linear-gradient(130deg, #a8c9b4 0, #a8c9b4 18px, #9cc0aa 18px, #9cc0aa 36px);
}

.v5-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.v5-stripe-yellow {
  background: repeating-linear-gradient(130deg, #f5b944 0, #f5b944 18px, #efae33 18px, #efae33 36px);
}

/* The hero's right-hand column: a striped teal field with the picture in it. */
.v5-hero-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 560px;
  padding: 0 40px;
  background: repeating-linear-gradient(130deg, #0a5d5a 0, #0a5d5a 24px, #075350 24px, #075350 48px);
}

/* The sur-mesure band, built like the hero and mirrored: the text on the left,
   the photograph on the right against a striped ground that runs to the window
   edge. auto-fit rather than a counted pair, so that a band with no photo
   column keeps its text across the full width instead of half of it. */
/* The band is a container so that its text column can measure the band's
   width rather than the viewport's, which counts the scrollbar. */
.v5-band-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  align-items: stretch;
  container-type: inline-size;
}

/* The band's colour runs to the window's edge, but its text starts where the
   other sections' does: on the left edge of the centred --page-max column,
   inside its gutter. */
.v5-band-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px var(--gutter);
  padding-left: max(var(--gutter), calc((100cqw - var(--page-max)) / 2 + var(--gutter)));
}

/* The lede is centred under a centred heading everywhere else, so its auto
   margins have to go here. */
.v5-band-split .v5-band-lede {
  margin: 18px 0 0;
}

.v5-band-split .blk-actions-band {
  margin-top: 28px;
}

.v5-band-split-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 56px 40px;
  background: repeating-linear-gradient(130deg, #3a2650 0, #3a2650 24px, #33204a 24px, #33204a 48px);
}

/* Section furniture. */
/* The Accueil page's own text is a section of the landing page rather than a
   reading column: it spans the content width like the sections around it, and
   its first heading is a section heading, not the page's display title, so it
   does not centre the way a prose page's does. Both rules are compound on
   purpose — koenig.css loads after this file, so an equal-specificity
   selector would lose to the .native-prose rules it overrides. */
.native-prose.home-intro {
  max-width: var(--page-max);
  padding: 56px var(--gutter) 0;
}

.native-prose.home-intro > h2:first-child {
  text-align: left;
}

/* The hero headline is written as the first heading of the hero page's body
   (h1 or h2, whichever the editor produced), so it is styled by position:
   nothing in the theme can put a class on it. */
.v5-hero-prose > h1:first-child,
.v5-hero-prose > h2:first-child {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.v5-h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 50px);
  letter-spacing: -.03em;
  line-height: 1.04;
}

.v5-h3-panel {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.03em;
}

.v5-lede {
  margin: 0 0 40px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.v5-band-lede {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mid);
}

/* The same lede on the purple panel. Declared after the rule it modifies:
   both are a single class, so source order is what decides — and the other way
   round the paragraph came out dark purple on dark purple. */
.v5-band-lede-dark {
  color: var(--text-on-dark);
}

.v5-eyebrow-light {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* Italic is the accent marker in the hero — in the headline and in the prose
   alike. It is only ever a colour: the slant is reset, so what the editor
   shows as emphasis reads here as the yellow the dark panel wants. */
.v5-hero-prose em {
  color: var(--accent-light);
  font-style: normal;
}

/*
 * The ribbon under the hero: the claims are a bullet list in the page body,
 * laid out as one centred row. The ✦ between them is drawn by CSS rather than
 * typed, so it never dangles at either end and the number of claims is the
 * editor's business alone. The row wraps on a narrow screen — four claims do
 * not fit 390px, and a second centred line beats a scroller nobody scrolls.
 */
.v5-ribbon {
  background: var(--ink);
  color: var(--accent-light);
  padding: 18px var(--gutter);
}

.v5-ribbon ul {
  margin: 0 auto;
  padding: 0;
  max-width: var(--page-max);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px 34px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* The separator is a child of the item that follows it, so it sits inside the
   row's own spacing: 34px each side of the ✦, the same as between an item and
   its neighbour when the ✦ is absent. */
.v5-ribbon li {
  display: flex;
  align-items: baseline;
  gap: 34px;
}

/* Drawn, not typed: neither Bricolage nor Karla carries U+2726, so a ✦ would
   fall back to whatever symbol font the visitor's system happens to have. The
   square is sized in em, so it follows the row's type. */
.v5-ribbon li + li::before {
  content: "";
  align-self: center;
  width: .7em;
  height: .7em;
  background: var(--accent);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}

/* Narrow: the four claims need two lines, and a wrapped row would open the
   second one with a separator hanging in front of nothing. So the row becomes
   a two-column grid and the separators step aside — the grid does their job. */
@media (max-width: 700px) {
  .v5-ribbon ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .v5-ribbon li {
    justify-content: center;
  }

  .v5-ribbon li + li::before {
    display: none;
  }
}

.v5-hero-prose p {
  margin: 0 0 34px;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark);
  text-wrap: pretty;
}

/*
 * Cards out of a Koenig stream. Two sections are written as heading,
 * paragraph, heading, paragraph — "Le fait main" and "Ce qu'on m'écrit" — and
 * this turns each pair into a card without a wrapper to hang it on. Two explicit rows plus grid-auto-flow:column put a
 * heading at the top of a column and its paragraph directly beneath, so the
 * pair reads as one box: the heading carries the top edge and the rounded
 * corners, the paragraph the bottom. Hence no row gap — a gap would cut every
 * card in half. The 01/02/03 are a counter, so they follow whatever she writes.
 */
.v5-pairs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  grid-auto-flow: column;
  gap: 0 24px;
  margin-top: 44px;
  text-align: left;
  counter-reset: step;
}

.v5-pairs h2,
.v5-pairs h3 {
  margin: 0;
  padding: 28px 26px 0;
  background: var(--card);
  border: var(--rule) solid var(--ink);
  border-bottom: 0;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--ink);
}

.v5-pairs h2::before,
.v5-pairs h3::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  width: 34px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--accent);
}

.v5-pairs p {
  margin: 0;
  padding: 10px 26px 28px;
  background: var(--card);
  border: var(--rule) solid var(--ink);
  border-top: 0;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .v5-pairs {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .v5-pairs p {
    margin-bottom: 24px;
  }

  .v5-pairs p:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .v5-hero-photo {
    min-height: 380px;
    padding: 32px 24px;
  }
}

/* Event rows: the button drops under the text on a phone, on the landing and
   on /agenda/ alike. */
@media (max-width: 640px) {
  .home-evt {
    flex-wrap: wrap;
  }

  .evt {
    grid-template-columns: 1fr !important;
  }
}

/*
 * The nav bar's disclosure. Nine entries and a pill take four lines on a
 * phone, so below 860px they fold behind a button.
 *
 * Everything here is gated on `html.js`: the button is hidden and the panel is
 * a plain wrapped row unless JavaScript said otherwise, which is what keeps
 * the bar usable with scripts off.
 */
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}

/* The logo shrinks rather than pushing the button onto its own line: at its
   full height it plus a 44px button no longer fit 390px. Two lines of
   lettering, so it runs about twice the old wordmark's type size. */
.nav-brand > img {
  height: clamp(38px, 10.8vw, 48px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--rule) solid var(--ink);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

/* Three bars, drawn rather than typed, so they inherit the ink. */
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  background: var(--accent-light);
}

@media (max-width: 860px) {
  .js .nav-toggle {
    display: block;
  }

  /* The panel drops out of the bar's flow and sits under it, full width, so
     the entries are a column of tap targets rather than a wrapped run. */
  .js .nav-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 14px calc(-1 * var(--gutter)) calc(-14px - var(--rule));
    padding: 6px var(--gutter) 14px;
    border-top: var(--rule) solid var(--ink);
    font-size: 15px;
  }

  .js .nav-menu[data-open] {
    display: flex;
  }

  .js .nav-menu > a {
    padding: 12px 2px;
  }

  /* The CTA keeps its pill but stops stretching across the panel. */
  .js .nav-menu > a.cta {
    align-self: flex-start;
    margin-top: 8px;
  }
}

/* "Ce qu'on m'écrit" uses the same pairs without the numbering: a review is
   not step three of anything. */
.v5-pairs-plain h2::before,
.v5-pairs-plain h3::before {
  content: none;
}

/*
 * The swatch grid. Its page's body is Koenig image cards, so each figure is
 * one cell and its caption the label — one image, one fabric, with nothing to
 * keep in step between a list and a page.
 */
.v5-swatches {
  display: grid;
  margin-top: 44px;
}

/*
 * "Commencez par la forme": a heading over a grid of cards, out of a flat
 * Koenig stream. A first paragraph that does not open in bold is the
 * introduction; every paragraph that opens in bold is a card — the bold is
 * its name, then, each after a line break, an optional italic tagline and the
 * description. The body is display: contents, so its paragraphs are items of
 * the section's own grid: the introduction sits beside the heading, and the
 * cards flow on beneath, four to a row. Anything else she inserts — a photo,
 * a heading, a paragraph without bold further down — spans the full width.
 */
.v5-formes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  counter-reset: forme;
}

/* Holds the right half of the heading row whether or not there is an
   introduction: without it, auto-placement would pull the first cards up
   beside the heading. Empty, so it costs nothing under an introduction. */
.v5-formes::before {
  content: "";
  grid-row: 1;
  grid-column: 3 / -1;
}

.v5-formes-head {
  grid-row: 1;
  grid-column: 1 / span 2;
  align-self: end;
  margin-bottom: 20px;
}

.v5-formes-head .v5-h2 {
  margin: 0 0 10px;
}

.v5-formes-head .v5-lede {
  margin: 0;
}

.v5-formes-body {
  display: contents;
}

.v5-formes-body > * {
  grid-column: 1 / -1;
  margin: 0;
}

.v5-formes-body > p:empty {
  display: none;
}

/* The introduction. The extra left margin widens the 20px card gap to 56px
   between the two halves of the heading row. */
.v5-formes-body > p:first-child:not(:empty):not(:has(> strong:first-child)) {
  grid-row: 1;
  grid-column: 3 / -1;
  align-self: end;
  margin: 0 0 20px 36px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  text-wrap: pretty;
}

/* A card: the number and its short rule are drawn by ::before, so the 01, 02…
   follow whatever she writes. Grid items stretch, so the cards of a row share
   one height. */
.v5-formes-body > p:has(> strong:first-child) {
  grid-column: auto;
  padding: 18px 20px 24px;
  background: var(--card);
  border: var(--rule) solid var(--ink);
  border-radius: var(--card-radius);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
  transition: transform .15s, box-shadow .15s;
}

.v5-formes-body > p:has(> strong:first-child):hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--ink);
}

.v5-formes-body > p:has(> strong:first-child)::before {
  counter-increment: forme;
  content: counter(forme, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  padding-bottom: 10px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 18px 2px no-repeat;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}

.v5-formes-body > p > strong:first-child {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}

/* The tagline: only an italic directly after the name's line break, so an
   italic word inside the description stays inline. */
.v5-formes-body > p > strong:first-child + br + em {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--active);
}

/* Name and tagline are blocks, so the line break typed after each would leave
   an empty line: the block already ends its own. */
.v5-formes-body > p > strong:first-child + br,
.v5-formes-body > p > strong:first-child + br + em + br {
  display: none;
}

@media (max-width: 1000px) {
  .v5-formes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v5-formes::before,
  .v5-formes-body > p:first-child:not(:empty):not(:has(> strong:first-child)) {
    grid-column: 2;
  }

  .v5-formes-head {
    grid-column: 1;
  }
}

/* One column: heading, line, introduction and cards simply stack. */
@media (max-width: 620px) {
  .v5-formes {
    grid-template-columns: minmax(0, 1fr);
  }

  .v5-formes::before {
    content: none;
  }

  .v5-formes-head,
  .v5-formes-body > p:first-child:not(:empty):not(:has(> strong:first-child)) {
    grid-row: auto;
    grid-column: 1;
    margin: 0;
  }

  .v5-formes-body > p:first-child:not(:empty):not(:has(> strong:first-child)) {
    margin-bottom: 20px;
  }
}

/* Seeded with a heading and nothing else yet. The grid collapses, and so does
   the section around it: a heading standing over nothing reads as broken, and
   these pages are scaffolding until Sophie fills them. */
.v5-formes-body:empty,
.v5-swatches:empty,
.v5-pairs:empty,
.v5-atelier-prose:empty {
  display: none;
}

/* The layout lives here rather than in a style attribute for one specific
   reason: an inline `display` outranks the stylesheet, so a section that
   declares its own grid can never be hidden by the rule below. */
.v5-atelier {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px var(--gutter);
}

section:has(> .v5-formes-body:empty),
section:has(> .v5-swatches:empty),
section:has(> .v5-pairs:empty),
section:has(> div > .v5-swatches:empty),
section:has(> div > .v5-pairs:empty),
section:has(> div > .v5-atelier-prose:empty) {
  display: none;
}

/* Six columns, counted rather than fitted: auto-fill would keep every track
   at its minimum and leave the empty ones standing — two swatches rendered as
   two small squares against four columns of nothing. Counting the columns
   makes a swatch the same size whatever Sophie has published. */
.v5-swatches {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1000px) {
  .v5-swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .v5-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.v5-swatches figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  width: 100%;
}

/* Two classes and an element, deliberately: Ghost's cards.min.css sets
   .kg-image-card img and is injected after this file, so equal specificity
   would lose and every swatch would keep its own proportions. */
.v5-swatches .kg-image-card {
  margin: 0;
  width: 100%;
  max-width: none;
}

/* Ghost's cards.min.css pushes an image card down by --gap when it follows
   an uncaptioned one, so that images stacked in prose keep a small gap. In a
   grid that offsets every cell but the first. Its selector counts three
   classes and loads after this file, hence the element and the extra class
   here. */
.v5-swatches figure.kg-card.kg-image-card {
  margin: 0;
}

/* Koenig leaves a trailing empty paragraph after the last card; it would
   otherwise take a cell of its own. */
.v5-swatches > p:empty {
  display: none;
}

.v5-swatches .kg-image-card img,
.v5-swatches img {
  display: block;
  width: 100%;
  object-fit: cover;
  border: var(--rule) solid var(--ink);
  background: repeating-linear-gradient(130deg, #efe3ce 0, #efe3ce 18px, #e7d9c0 18px, #e7d9c0 36px);
}

.v5-swatches .kg-image-card img,
.v5-swatches img {
  aspect-ratio: 1/1;
  height: auto;
  border-radius: 20px;
}

.v5-swatches figcaption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-align: center;
  color: var(--light);
}

/* A lede on one of the saturated bands. */
.v5-lede-on-dark {
  color: var(--text-on-dark);
}

/* The atelier's two paragraphs. */
.v5-atelier-prose p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  text-wrap: pretty;
}

/*
 * The contact form (page-contact.hbs).
 *
 * Written as classes rather than inline styles, unlike the exported pages:
 * this markup is the theme's own, and a form is the one block where repeating
 * the same declarations on a dozen elements would be unreadable.
 *
 * The rules are light — rgba(43, 27, 61, .22), the same hairline the créations
 * list and the blog use — and not the design's 3px ink border. A form is a
 * dozen boxes in a column, and drawing each of them in full ink turns the card
 * into a grid of black rectangles that reads as heavier than everything around
 * it. The card is lifted by a shadow instead, as in the original export.
 */
.cform-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter) 70px;
}

/* Inside the .contact-anchor card the prose already supplies the width. */
.contact-anchor .cform-wrap {
  max-width: none;
  padding: 0 0 10px;
}

.cform {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  border: 1px solid rgba(43, 27, 61, .22);
  border-radius: var(--card-radius);
  box-shadow: 0 16px 40px -26px rgba(43, 27, 61, .45);
  padding: clamp(22px, 5vw, 40px);
}

/*
 * The hint and the status line are <p>, and inside the .contact-anchor card
 * they sit within .native-prose — whose `p` rule carries a class AND an
 * element, so it outranks a lone class here and was repainting the status text
 * soft purple on the teal. Scoping these to .cform wins that comparison; it is
 * why they read .cform .cform-… rather than .cform-… alone.
 */
.cform .cform-hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-soft);
}

.cform label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.fld {
  width: 100%;
  border: 1px solid rgba(43, 27, 61, .22);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}

.fld:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228, 87, 46, .18);
}

/* The honeypot: off-screen rather than display:none, which the cruder bots
   know to skip. Never shown, never tabbed into, never read aloud. */
.cform-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cform-send {
  align-self: flex-start;
  background: var(--button);
  color: var(--ink);
  border: none;
  border-radius: var(--pill-radius);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cform-send:hover {
  background: var(--button-hover);
  color: var(--light);
}

/* .cta sets display:inline-block, which outranks the UA rule for [hidden] --
   without this the button stays on screen after a successful send. */
.cform-send[hidden] {
  display: none;
}

.cform-send:disabled {
  cursor: progress;
  opacity: .6;
  transform: none;
}

.cform .cform-status {
  margin: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
}

.cform .cform-status-wait {
  background: var(--bg);
  color: var(--text-soft);
}

/* White rather than the theme's cream --light: this line is the one thing a
   visitor looks for after sending, and it is worth the extra contrast. */
.cform .cform-status-ok {
  background: var(--active);
  color: #fff;
}

.cform .cform-status-warn {
  background: var(--band);
  color: var(--ink);
}

/* Prose written in the Ghost editor for a blog post. */
.post-content > * {
  margin: 0 0 1.4em;
}

.post-content h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 1.8em;
}

.post-content h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 1.6em;
}

.post-content a {
  color: var(--active);
}

.post-content img {
  border-radius: 8px;
}

.post-content blockquote {
  border-left: 3px solid var(--accent);
  margin-left: 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-style: italic;
}

/* Koenig editor card widths: let an image in a post break out of the 760px
   reading column. Ghost requires these classes to be styled by the theme. */
.post-content .kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
}

.post-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.post-content .kg-image {
  display: block;
  margin: 0 auto;
}

/* ---------- Collections: the hero, the bands, the closing panel ------------
 *
 * One band per collection, sides and ground alternating. Both alternations are
 * :nth-of-type rather than template logic, so adding a collection in Ghost is
 * all there is to it. Sizes are the design's own.
 */

.col-hero {
  background: var(--ink);
  color: var(--light);
  padding: 72px var(--gutter) 64px;
}

.col-hero-in,
.col-band-in,
.col-cta-in {
  max-width: 1180px;
  margin: 0 auto;
}

.col-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.col-title {
  margin: 0 0 22px;
  max-width: 20ch;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.col-lede p {
  margin: 0;
  max-width: 56ch;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-on-dark);
  text-wrap: pretty;
}

/* One pill per collection, its own slug as the anchor. */
.col-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.col-jump a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 1px solid var(--accent-light);
  border-radius: var(--pill-radius);
  background: var(--accent-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.col-jump a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}

.col-band {
  background: var(--bg);
  padding: 56px var(--gutter);
}

/* Counted inside their own wrapper: as siblings of the hero and the closing
   panel, nth-of-type would start the alternation on the wrong foot. */
.col-list > .col-band:nth-child(even) {
  background: var(--card);
}

.col-band-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
}

.col-list > .col-band:nth-child(even) .col-band-in {
  flex-direction: row-reverse;
}

.col-photo {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  overflow: hidden;
}

.col-text {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 46ch;
}

.col-status {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--active);
}

.col-status-soon {
  color: var(--accent);
}

.col-name {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

.col-tagline {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--accent);
}

.col-body p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  text-wrap: pretty;
}

.col-body p:last-child {
  margin-bottom: 0;
}

/* The note: a closing paragraph that is bold from end to end — where the
   collection can be seen, usually. Written that way it is the editor's only
   way to mark it, and it is set apart rather than emphasised. */
.col-body p:last-child:has(> strong:only-child) {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--active);
}

.col-body p:last-child:has(> strong:only-child) strong {
  font-weight: 500;
}

.col-cta {
  background: var(--band);
  padding: 76px var(--gutter);
}

.col-cta-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 36px;
}

.col-cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

.col-cta p {
  margin: 0;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  text-wrap: pretty;
}

.col-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.col-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 30px;
  border: 2px solid var(--ink);
  border-radius: var(--pill-radius);
  background: var(--ink);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-light);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}

.col-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}

.col-btn-outline {
  background: transparent;
  color: var(--ink);
}

.col-btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--accent-light);
}

/* ---------- Créations: the opening, the pieces, the closing card -----------
 *
 * One row per piece, sides alternating — :nth-child inside .crea-list, so the
 * pieces are Ghost's business alone. Sizes are the design's own. The buttons
 * reuse .col-btn from the Collections panel above.
 */

.crea-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px var(--gutter) 40px;
}

.crea-head > div:first-child {
  flex: 1 1 440px;
  min-width: 0;
}

.crea-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.crea-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 80px);
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--ink);
  text-wrap: balance;
}

.crea-lede {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 46ch;
}

.crea-lede p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  text-wrap: pretty;
}

.crea-list {
  display: flex;
  flex-direction: column;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.crea-piece {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
  padding: 36px 0;
  border-top: 1px solid rgba(43, 27, 61, .22);
}

.crea-list > .crea-piece:nth-child(even) {
  flex-direction: row-reverse;
}

.crea-photo {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
}

.crea-text {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 46ch;
}

.crea-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--active);
}

.crea-name {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}

.crea-body p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  text-wrap: pretty;
}

.crea-body p:last-child {
  margin-bottom: 0;
}

/* The closing card sits inside the measure rather than running to the window
   edge, which is what tells it apart from the bands on the other pages. */
.crea-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px var(--gutter) 84px;
}

.crea-cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: 44px 40px;
  background: var(--band);
  border-radius: var(--card-radius);
}

.crea-cta-in > div:first-child {
  flex: 1 1 400px;
  min-width: 0;
}

.crea-cta h2 {
  margin: 0 0 10px;
  max-width: 26ch;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}

.crea-cta p {
  margin: 0;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  text-wrap: pretty;
}

.crea-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Blog: the masthead, the column of posts, the sidebar ----------
 *
 * Sizes are the design's own. The sidebar's blocks are separated by their own
 * hairlines rather than by a gap alone, and it sticks once the column beside
 * it is taller than the window.
 */

.blog-head {
  padding: 56px var(--gutter) 0;
}

.blog-head-in {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 26px;
  border-bottom: var(--rule) solid var(--ink);
}

.blog-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 48px;
}

.blog-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--ink);
}

.blog-lede {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 52ch;
}

.blog-lede p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  text-wrap: pretty;
}

.blog-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 52px 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter) 20px;
}

.blog-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 560px;
  min-width: 0;
}

.blog-post {
  padding: 48px 0;
  border-bottom: 1px solid rgba(43, 27, 61, .22);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-soft);
}

.blog-cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.blog-post-title {
  margin: 0 0 18px;
  max-width: 30ch;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.blog-post-title a {
  color: var(--ink);
  text-decoration: none;
}

.blog-post-title a:hover {
  color: var(--accent);
}

.blog-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
}

.blog-preview p {
  margin: 0 0 12px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-mid);
  text-wrap: pretty;
}

/* The design opens on a darker paragraph and continues in the body colour. */
.blog-preview p:first-child {
  color: #3a2b49;
}

/* A preview is prose: a card that happened to fall inside the first sixty
   words would arrive without its siblings and read as debris. */
.blog-preview > :not(p) {
  display: none;
}

.blog-more {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--accent);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
}

.blog-more:hover {
  color: var(--accent);
}

.blog-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 34px 0 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-soft);
}

.blog-pages-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  flex: 0 1 288px;
  min-width: 0;
  gap: 40px;
  padding-top: 48px;
}

.blog-portrait {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: var(--pill-radius);
  overflow: hidden;
}

.blog-kicker {
  margin: 16px 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-bio {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  text-wrap: pretty;
}

.blog-link {
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
  text-decoration: none;
}

.blog-link:hover {
  color: var(--accent);
}

.blog-block {
  padding-top: 28px;
  border-top: 1px solid rgba(43, 27, 61, .22);
}

.blog-block .blog-kicker {
  margin: 0 0 14px;
}

.blog-rubriques {
  display: flex;
  flex-direction: column;
}

.blog-rubriques a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(43, 27, 61, .12);
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

.blog-rubriques a:hover,
.blog-rubriques a.is-current {
  color: var(--accent);
}

.blog-rubriques a.is-current {
  font-weight: 500;
}

.blog-count {
  font-size: 13px;
  color: var(--text-soft);
}

.blog-starred {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-starred a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
  text-decoration: none;
  text-wrap: pretty;
}

.blog-starred a:hover {
  color: var(--accent);
}

.blog-letter {
  padding: 26px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--light);
}

.blog-letter .blog-kicker {
  margin: 0 0 10px;
  color: var(--accent-light);
}

.blog-letter p:not(.blog-kicker) {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-dark);
  text-wrap: pretty;
}

.blog-letter-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: var(--pill-radius);
  background: var(--accent-light);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.blog-letter-btn:hover {
  background: var(--accent);
  color: var(--light);
}

/* Under the breakpoint the sidebar is just the last block of the page: sticky
   would pin it to a window it no longer sits beside. */
@media (max-width: 900px) {
  .blog-side {
    position: static;
    flex: 1 1 100%;
    padding-top: 8px;
  }
}
