@font-face { font-family: "Hanken Grotesk"; font-weight: 400 500; font-display: swap; src: url(//nriviere.fr/wp-content/themes/nicolas-riviere/polices/hanken-grotesk-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: "Hanken Grotesk"; font-weight: 400 500; font-display: swap; src: url(//nriviere.fr/wp-content/themes/nicolas-riviere/polices/hanken-grotesk-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF }
@font-face { font-family: "Special Gothic Condensed One"; font-weight: 400; font-display: swap; src: url(//nriviere.fr/wp-content/themes/nicolas-riviere/polices/special-gothic-condensed-one-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: "Special Gothic Condensed One"; font-weight: 400; font-display: swap; src: url(//nriviere.fr/wp-content/themes/nicolas-riviere/polices/special-gothic-condensed-one-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF } :root {
--papier: #fff;
--encre: #000;
--gris: #5d6266;
--filet: #e0e0e0;
--condensed: "Special Gothic Condensed One", "Arial Narrow", sans-serif;
--texte: "Hanken Grotesk", system-ui, sans-serif;
--g: max(clamp(16px, 2.2vw, 36px), env(safe-area-inset-left, 0px));
--d: max(clamp(16px, 2.2vw, 36px), env(safe-area-inset-right, 0px));
--mire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Ccircle cx='14' cy='14' r='7'/%3E%3Cpath d='M14 1v26M1 14h26'/%3E%3C/g%3E%3C/svg%3E") 14 14;
color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
background: var(--papier); color: var(--encre);
font: 400 16px/1.5 var(--texte);
margin: 0; padding-left: var(--g); padding-right: var(--d);
}
a { color: inherit; text-decoration: none }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px }
h1, h2, h3, p, ul, ol { margin: 0 } .sr:not(:focus), .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.evitement { position: fixed; z-index: 4; top: 8px; left: var(--g); padding: 10px 14px; background: var(--encre); color: var(--papier) }
.coin {
position: fixed; z-index: 3; margin: 0;
font: 400 26px/1 var(--condensed); letter-spacing: .01em; text-transform: uppercase;
color: #fff; mix-blend-mode: difference;
}
.hg { top: calc(env(safe-area-inset-top, 0px) + var(--wp-admin--admin-bar--height, 0px) + 14px); left: var(--g) }
.hd { top: calc(env(safe-area-inset-top, 0px) + var(--wp-admin--admin-bar--height, 0px) + 14px); right: var(--d); display: flex; gap: .8em }
.bd { bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); right: var(--d); text-align: right }
.coin a:hover, footer a:hover { text-decoration: underline }
.hero {
display: grid; grid-template-columns: minmax(0, 1fr) min(28vw, 380px); gap: 48px;
align-items: start; padding-block: calc(env(safe-area-inset-top, 0px) + 96px) 56px;
}
h1 {
font: 400 clamp(44px, 6.6vw, 112px)/.92 var(--condensed); letter-spacing: -.005em;
text-wrap: balance; max-width: 14em;
}
.chapo { margin-top: 28px; max-width: 34em; font-size: 19px; color: var(--gris) } #dock img, .index img, .epreuve {
--m: 30px; --t: calc(var(--m) - 8px);
padding: var(--m);
background:
linear-gradient(var(--encre) 0 0) 0 var(--m) / var(--t) 1px,
linear-gradient(var(--encre) 0 0) 100% var(--m) / var(--t) 1px,
linear-gradient(var(--encre) 0 0) 0 calc(100% - var(--m)) / var(--t) 1px,
linear-gradient(var(--encre) 0 0) 100% calc(100% - var(--m)) / var(--t) 1px,
linear-gradient(var(--encre) 0 0) var(--m) 0 / 1px var(--t),
linear-gradient(var(--encre) 0 0) calc(100% - var(--m)) 0 / 1px var(--t),
linear-gradient(var(--encre) 0 0) var(--m) 100% / 1px var(--t),
linear-gradient(var(--encre) 0 0) calc(100% - var(--m)) 100% / 1px var(--t);
background-repeat: no-repeat;
}
.epreuve {
position: fixed; left: 0; top: 0; z-index: 2; width: min(26vw, 380px);
pointer-events: none; opacity: 0; transition: opacity .25s;
}
.epreuve.on { opacity: 1 }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px }
.filtres button, .pastille, .page-numbers {
display: inline-block;
color: var(--encre);
background: none; border: 1px solid var(--encre); border-radius: 99px;
padding: 8px 14px 7px; cursor: pointer;
}
.filtres button[aria-pressed="true"], .pastille:hover, .page-numbers.current, a.page-numbers:hover { background: var(--encre); color: var(--papier) }
.casse { text-transform: none } #projets { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 56px) }
.index { list-style: none; padding: 0; border-bottom: 1px solid var(--filet) }
.index li { border-top: 1px solid var(--filet) }
.index a {
display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem) 6.5rem; gap: 24px;
align-items: baseline; padding-block: .1em .02em; cursor: var(--mire), pointer;
}
.nom {
font: 400 clamp(46px, 9.4vw, 158px)/.92 var(--condensed); text-transform: uppercase;
letter-spacing: -.005em; transition: color .2s;
}
.meta { color: var(--gris); font-size: 14px; line-height: 1.3 }
.an { text-align: right }
.index img { display: none }
@media (hover: hover) {
.index:hover li:not(:hover) .nom, .articles:hover li:not(:hover) h2 { color: var(--filet) }
}
.index:has(:focus-visible) li:not(:focus-within) .nom, .articles:has(:focus-visible) li:not(:focus-within) h2 { color: var(--filet) }
@media (hover: none) { #dock { display: none }
.index img { display: block; grid-column: 1 / -1; width: 100%; height: auto; max-width: 520px; aspect-ratio: 3 / 2; object-fit: cover; margin-block: 10px 18px }
}
#profil {
display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
padding-block: 120px 40px;
}
.lead { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; font-weight: 500; max-width: 24em; text-wrap: pretty }
.lead + p { margin-top: 20px; color: var(--gris); max-width: 34em }
#profil h3 { padding-bottom: 12px; border-bottom: 1px solid var(--encre) }
#profil ul { list-style: none; padding: 0 }
#profil li { padding-block: 9px; border-bottom: 1px solid var(--filet) }
.refs { grid-column: 1 / -1; color: var(--gris); font-size: 14px; max-width: 70em }
#contact { padding-block: 120px 96px }
#contact p { font-size: 19px; max-width: 30em; margin-bottom: 20px }
.mail { font: 400 clamp(34px, 7.2vw, 124px)/.95 var(--condensed); overflow-wrap: anywhere; user-select: all }
.mail:hover { text-decoration: underline; text-decoration-thickness: .04em; text-underline-offset: .08em }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 24px 64px; border-top: 1px solid var(--filet); font-size: 14px; color: var(--gris) }
@media (max-width: 760px) {
.hero, #profil { grid-template-columns: minmax(0, 1fr) }
.hero { gap: 28px; padding-top: calc(env(safe-area-inset-top, 0px) + 92px) }
#dock { max-width: 420px }
#dock img, .index img { --m: 20px }
.index a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px }
.nom { grid-column: 1 / -1 } .hg, .hd { position: absolute } .coin { font-size: 20px } .hd { top: calc(env(safe-area-inset-top, 0px) + var(--wp-admin--admin-bar--height, 0px) + 44px); left: var(--g); flex-wrap: wrap; row-gap: 4px }
.bd { display: none }
#profil { padding-top: 80px; gap: 36px }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .nom, .articles h2, .epreuve { transition: none } } .projet { padding-block: calc(env(safe-area-inset-top, 0px) + 80px) 48px }
.projet h1 { margin-top: 28px }
.titre { font: 400 clamp(88px, 21vw, 360px)/.8 var(--condensed); text-transform: uppercase; letter-spacing: -.01em }
.projet .lead { margin-top: 32px }
.fiche { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding-top: 14px; border-top: 1px solid var(--encre) }
.fiche dt { margin-bottom: 6px }
.fiche dd { margin: 0; color: var(--gris); font-size: 16px; line-height: 1.4 }
figure { margin: 0 }
#dock img, .epreuve img, figure img { display: block; width: 100%; height: auto }
.planches figcaption, .texte figcaption { margin: 8px 0 0; font-size: 14px; color: var(--gris) }
.perdu { margin-inline: calc(var(--g) * -1) calc(var(--d) * -1) }
.recit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px 48px; padding-block: 104px 40px }
.recit h2 { padding-top: .3em }
.recit p + p { margin-top: 1em }
.recit p { font-size: 19px; line-height: 1.55; max-width: 36em } .planches { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 16px; align-items: end }
.planches h2 { grid-column: 1 / -1; margin-top: 64px; padding-top: 14px; border-top: 1px solid var(--encre); font: 400 clamp(40px, 5.6vw, 92px)/.95 var(--condensed) }
.s12 { grid-column: span 12 } .s7 { grid-column: span 7 } .s6 { grid-column: span 6 } .s5 { grid-column: span 5 } .s4 { grid-column: span 4 } .nuancier { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; margin: 0 } .ech { display: block; height: clamp(96px, 12vw, 180px); margin-bottom: 8px; box-shadow: inset 0 0 0 1px var(--filet) }
.nuancier dd { margin: 0; font-size: 14px; color: var(--gris); font-variant-numeric: tabular-nums }
.suivant { padding-block: 128px 40px } .texte { max-width: 36em; padding-block: 40px 96px; font-size: 19px; line-height: 1.55 }
.texte > * + * { margin-top: 1em }
.texte h2 { margin-top: 1.6em; font: 400 clamp(30px, 3.2vw, 44px)/1 var(--condensed); text-wrap: balance }
.texte h3 { margin-top: 1.6em; font-size: inherit; font-weight: 500 }
.texte strong { font-weight: 500 }
.texte a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em }
.texte ul, .texte ol { padding-left: 1.2em }
.texte li + li { margin-top: .4em }
.texte blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--encre); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; font-weight: 500 }
.texte figure { margin-block: 2em } .articles { list-style: none; padding: 0; border-bottom: 1px solid var(--filet) }
.articles li { border-top: 1px solid var(--filet) }
.articles a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 48px; padding-block: 28px 32px }
.articles time { padding-top: .6em }
.articles h2 { font: 400 clamp(32px, 3.8vw, 60px)/.98 var(--condensed); max-width: 18em; text-wrap: balance; transition: color .2s }
.articles p { margin-top: 12px; max-width: 36em; color: var(--gris); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden } .service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 48px; max-width: none; padding-top: 104px }
.service > * { grid-column: 2; max-width: 36em }
.service > h2 { grid-column: 1; padding-top: .3em }
.service > h2, .service > h2 + * { margin-top: 3em }
.service > h2:first-child, .service > h2:first-child + * { margin-top: 0 }
.lies h2 { margin-bottom: 12px }
.filtres sup, .lies sup { font-size: .8em }
#profil h3 a:hover { text-decoration: underline }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 40px }
.suivant p { margin-bottom: 8px }
.suivant a { display: block; cursor: var(--mire), pointer }
.suivant a:hover .nom { text-decoration: underline; text-decoration-thickness: .03em; text-underline-offset: .06em } .evitement, .filtres button, .pastille, .page-numbers, .an, #profil h3, .fiche dt, .recit h2, .nuancier dt, .suivant p, .articles time, .service > h2, .lies h2 {
font: 400 17px/1.15 var(--condensed); letter-spacing: .02em; text-transform: uppercase; font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
.fiche { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.recit { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 72px }
.articles a { grid-template-columns: minmax(0, 1fr) }
.service { display: block; padding-top: 24px }
.service > h2 + * { margin-top: 12px }
.recit div + h2 { margin-top: 24px }
.planches > * { grid-column: 1 / -1 }
.planches .s4 { grid-column: span 6 }
.nuancier { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)) }
}