
/* Layout: editorial catalogue. One quiet grid, large photographs, small uppercase labels; walnut accent used only on interactive states. */
:root {
  --bg: #F4F3F0;
  --surface: #E9E7E2;
  --fg: #1B1A18;
  --muted: #6C675F;
  --line: #D8D4CB;
  --accent: #7A4E32;
  --logo-filter: none;
  --f-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1440px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151412; --surface: #201E1B; --fg: #ECE8E1; --muted: #A39C90; --line: #34312C; --accent: #D19A6E; --logo-filter: invert(1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #151412; --surface: #201E1B; --fg: #ECE8E1; --muted: #A39C90; --line: #34312C; --accent: #D19A6E; --logo-filter: invert(1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--fg);
  font: 400 16px/1.6 var(--f-sans);
  padding-inline: var(--gutter); padding-block: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin-inline: auto; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.top .wrap { display: flex; align-items: flex-end; align-items: last baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand img { height: 28px; width: auto; filter: var(--logo-filter); }
.brand span { font-size: 16px; }
.nav { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.nav a { font-size: 13px; padding-block: 2px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--fg); }

/* generic */
section { padding-block: clamp(48px, 8vw, 104px); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px); }
.sec-head h2, .manifesto h2.label { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.more { font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.more:hover { color: var(--accent); border-color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }
.btn {
  display: inline-block; border: 1px solid var(--fg); background: var(--fg); color: var(--bg);
  padding: 14px 26px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.btn.btn-serif { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-width: 160px; font-family: var(--f-serif); font-style: italic; font-size: clamp(16px, 1.5vw, 19px); font-weight: 400; text-transform: none; line-height: 1; letter-spacing: 0; padding: 17px 32px 18px; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* hero */
.hero { padding-block: clamp(40px, 8vw, 112px) 0; }
.hero figure { margin: 0; background: var(--surface); }
.hero img, .hero video { display: block; width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; object-position: 50% 60%; background: var(--surface); }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(24px, 6vw, 96px); align-items: end; }
.hero h1 { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 cite { display: block; margin-top: 16px; font: 500 12px/1.4 var(--f-sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-text p { margin: 0; max-width: 46ch; color: var(--muted); }
.hero-text p strong { color: var(--fg); font-weight: 500; }

/* cards */
.cards { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.cards.p3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.f5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; min-width: 0; }
.card .ph { background: var(--surface); overflow: hidden; }
.card .ph img { width: 100%; object-fit: cover; transition: transform .6s ease; }
.cards.p3 .ph img { aspect-ratio: 4 / 5; }
.cards.f5 .ph img { aspect-ratio: 1 / 1; }
.cards.f5.mini { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.cards.mini .cap b { font-size: 14px; }
.cards.mini .cap span { font-size: 12px; }
.card:hover .ph img { transform: scale(1.025); }
.card .cap { display: grid; gap: 2px; padding-top: 12px; }
.card .cap b { font-weight: 500; font-size: 15px; letter-spacing: .02em; }
.card .cap span { font-size: 13px; color: var(--muted); }
.card:hover .cap b { color: var(--accent); }

/* manifesto */
.manifesto { border-top: 1px solid var(--line); }
.manifesto .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px clamp(24px, 6vw, 96px); }
.manifesto blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; text-wrap: balance; }
.manifesto cite { display: block; margin-top: 16px; font: 500 12px/1.4 var(--f-sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.manifesto p { margin: 0 0 1em; max-width: 58ch; }
.manifesto p strong { font-weight: 500; }
.manifesto p.cta-text { font-size: 14px; }

/* services */
.services { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.svc h3 { margin: 0 0 8px; font-size: 15px; font-weight: 500; }
.svc p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.svc > div { border-top: 1px solid var(--fg); padding-top: 14px; }

/* project page */
.pp-head { padding-block: clamp(16px, 2vw, 24px) clamp(12px, 1.4vw, 16px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px clamp(16px, 2.4vw, 32px); }
.back { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.back:hover { color: var(--accent); }
.pp-head h1 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pp-head p { margin: 0; color: var(--muted); font-size: 13px; }
.pp-hero { margin: 0; background: var(--surface); }
.pp-hero.portrait img { width: auto; max-width: 100%; height: min(82vh, 900px); max-height: none; margin: 0 auto; display: block; object-fit: contain; }
.pp-hero img { width: 100%; max-height: 82vh; object-fit: cover; }
.pp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px clamp(24px, 6vw, 96px); padding-block: clamp(32px, 5vw, 72px); }
dl.meta { margin: 0; display: grid; gap: 0; align-content: start; }
dl.meta div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 15px; }
dl.meta div:last-child { border-bottom: 1px solid var(--line); }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.pp-text .lead { font-size: 15px; line-height: 1.6; margin: 0 0 32px; max-width: 60ch; }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.lists h2 { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.lists ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lists li { padding-left: 18px; position: relative; font-size: 15px; }
.lists li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--fg); }
.suivi { padding-bottom: clamp(32px, 5vw, 72px); }
.suivi h2 { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.srow { display: grid; grid-template-columns: repeat(var(--c, 8), minmax(0, 1fr)); gap: 12px; }
.srow figure { margin: 0; background: var(--surface); aspect-ratio: 3 / 4; }
.srow.mix { display: flex; }
.srow.mix figure { flex: var(--ar) 1 0; aspect-ratio: var(--ar); }
.srow img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .srow { display: flex; overflow-x: auto; scrollbar-width: none; }
  .srow::-webkit-scrollbar { display: none; }
  .srow figure { flex: none; width: 150px; }
  .srow.mix figure { flex: none; width: auto; height: 200px; aspect-ratio: var(--ar); }
}
.pfit { display: grid; gap: 12px; padding-bottom: 8px; }
.pfit figure { margin: 0; background: var(--surface); }
.pfit img { width: 100%; height: auto; display: block; }
.pfit.js { display: flex; flex-direction: column; align-items: center; }
.pfit.js .prow { display: flex; justify-content: center; gap: 12px; }
.pfit.js figure { flex: none; }
.pfit.js img { height: 100%; }
.gallery { columns: 2; column-gap: 12px; }
.gallery figure { margin: 0 0 12px; break-inside: avoid; background: var(--surface); }
.gallery img { width: 100%; }
.next { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; padding-block: 28px; }
.next a { font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.next a:hover { color: var(--accent); }

/* index pages */
.list-head { padding-block: clamp(32px, 6.5vh, 72px) clamp(10px, 1.6vh, 18px); }
.list-head h1 { margin: 0; line-height: 24px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 901px) {
  .cards.f5.mid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards.f5.mid .card { grid-column: span 2; }
  .cards.f5.mid .card:nth-child(4) { grid-column: 2 / span 2; }
  .cards.f5.mid .card:nth-child(5) { grid-column: 4 / span 2; }
}
.card.static { cursor: default; }
.card.static:hover .ph img { transform: none; }
.ph.pending { position: relative; }
.ph.pending::after { content: ""; position: absolute; inset: 0; background: rgba(20, 19, 18, .28); }
.ph.pending span { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; color: #fff; font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px clamp(24px, 6vw, 96px); align-items: end; }
.page-head h1 { margin: 0; font-size: clamp(38px, 6vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -.025em; }
.page-head p { margin: 0; color: var(--muted); max-width: 46ch; }

/* furniture piece */
.pc { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 32px clamp(24px, 5vw, 80px); padding-block: clamp(12px, 1.6vw, 20px) clamp(48px, 7vw, 96px); align-items: start; }
.slider { position: relative; min-width: 0; }
.slider:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.track figure { flex: 0 0 calc(50% - 6px); margin: 0; scroll-snap-align: start; aspect-ratio: 5 / 4; max-height: calc(100svh - 190px); background: var(--surface); }
.track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snav { padding: 0; box-sizing: border-box; flex: none; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--bg) 82%, transparent); color: var(--fg); line-height: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease; }
.snav svg { display: block; flex: none; }
.snav.prev { left: 12px; } .snav.next { left: auto; right: 12px; }
.slider:hover .snav, .slider:focus-within .snav { opacity: 1; }
@media (hover: none) { .snav { opacity: 1; } }
@media (max-width: 560px) { .track figure { flex-basis: 100%; aspect-ratio: 4 / 5; } }
.buyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.buyrow .price { white-space: nowrap; }
.scount { position: absolute; left: 0; bottom: -28px; font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.pc-info { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 20px; min-width: 0; }
.pc-info h1 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pc-info .desc { margin: 0; max-width: 52ch; }
.price { font-size: 13px; color: var(--muted); }
table.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
table.spec th, table.spec td { text-align: left; vertical-align: top; padding-block: 12px; border-top: 1px solid var(--line); }
table.spec th { width: 34%; font-weight: 400; color: var(--muted); padding-right: 16px; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.pc-info details { border-top: 1px solid var(--line); padding-top: 12px; }
.pc-info details + details { border-top: 0; }
details.det table.spec { margin-top: 10px; }
details.det table.spec tr:first-child th, details.det table.spec tr:first-child td { border-top: 0; }
details.det table.spec tr:last-child th, details.det table.spec tr:last-child td { border-bottom: 0; }
summary { cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding-block: 4px; }
details p { margin: 10px 0 0; font-size: 14px; color: var(--muted); max-width: 56ch; }

/* about */
.ab { display: grid; grid-template-columns: minmax(0, clamp(220px, 24vw, 340px)) minmax(0, 1fr) minmax(0, clamp(200px, 25vw, 340px)); gap: 32px clamp(24px, 4vw, 56px); padding-bottom: clamp(48px, 7vw, 96px); }
.ab { row-gap: 48px; }
.ab .art { display: flex; flex-direction: column; align-items: center; }
.ab .art img { display: block; height: auto; filter: var(--logo-filter); }
.ab .ab-t, .ab .ab-q { width: 100%; max-width: 60ch; justify-self: center; }
.ab .ab-a { padding-bottom: 16px; align-self: stretch; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: flex-end; justify-content: center; gap: 16px; }
.ab .ab-a img { width: auto; height: clamp(170px, 19vw, 260px); }
.ab .ab-a img:nth-child(2) { height: clamp(128px, 14.2vw, 195px); }
.ab { --pc: clamp(220px, 24vw, 340px); --gp: clamp(24px, 4vw, 56px); }
.ab .ab-split { grid-column: 1 / -1; display: grid; grid-template-columns: calc(var(--pc) + 25vw + 11px) minmax(0, 1fr); gap: 0 var(--gp); align-items: start; }
.ab .ab-split .ab-q { max-width: 60ch; justify-self: start; }
.ab .ab-g { flex-direction: row; align-items: flex-end; justify-content: center; align-self: start; gap: 24px; padding: 0; }
.ab .ab-g img, .ab .ab-g img:nth-child(n) { width: auto; height: clamp(170px, 18.7vw, 255px); }
.ab .ab-g img:first-child { height: clamp(102px, 11.6vw, 158px); margin-right: 14px; }
.ab .portrait { background: var(--surface); aspect-ratio: 1 / 1; overflow: hidden; width: 100%; max-width: clamp(220px, 24vw, 340px); }
.ab .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab p { margin: 0 0 1em; max-width: 60ch; }
.ab h2 { margin: 32px 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ab .manif { font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.5; margin: 1.4em 0 0; }
.ab .qui { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; margin: 0 0 20px; max-width: none; }
.ab .qui + blockquote { margin-top: 0; padding-top: 0; border-top: 0; }
.ab .sign { display: block; height: 56px; width: auto; margin: 4px 0 0; filter: var(--logo-filter); }
.ab .sign + cite { margin-top: 24px; }
.ab blockquote { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.5; max-width: 60ch; }
.ab blockquote p { margin: 0 0 .9em; }
.ab cite { font: 500 12px/1.4 var(--f-sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* contact */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px clamp(24px, 6vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.ct-l { min-width: 0; }
.ct-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); margin-bottom: 32px; }
.ct dl { margin: 0; display: grid; gap: 18px; align-content: start; }
.ct dt { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ct dd { margin: 2px 0 0; }
form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: 400 16px/1.4 var(--f-sans); color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--fg); padding: 8px 0; border-radius: 0; width: 100%; text-transform: none; letter-spacing: 0; }
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.notice { font-size: 14px; color: var(--muted); min-height: 1.5em; margin: 0; }

footer { border-top: 1px solid var(--line); padding-block: 32px 40px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
footer a:hover { color: var(--accent); }


/* accueil : titre et projets tiennent dans un seul écran */
.hero { padding-block: 0; }
.screen { display: flex; flex-direction: column; gap: clamp(20px, 3.5vh, 40px); padding-block: clamp(32px, 6.5vh, 72px) clamp(16px, 3vh, 32px); }
.screen section { padding-block: 0; display: flex; flex-direction: column; min-width: 0; }
.screen .sec-head { margin-bottom: clamp(10px, 1.6vh, 18px); }
.hero h1 { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.25; }
.hero-text { padding-top: 0; }
@media (min-width: 901px) {
  .screen { height: calc(100svh - 78px - env(safe-area-inset-top, 0px)); min-height: 520px; }
  .screen section { flex: 1; min-height: 0; }
  .cards.fit { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
  .cards.fit .card { display: flex; flex-direction: column; min-height: 0; }
  .cards.fit .ph { flex: 1; min-height: 0; }
  .cards.fit .ph img { width: 100%; height: 100%; aspect-ratio: auto; }
}

@media (max-width: 1100px) { .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero-text, .manifesto .grid, .pp-body, .page-head, .pc, .ab, .ct { grid-template-columns: minmax(0, 1fr); }
  .cards.p3, .cards.f5, .cards.f5.mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-info { position: static; }
  .ab { row-gap: 32px; }
  .ab .ab-split, .ab .ab-under { display: contents; }
  .ab-p { order: 1; } .ab-t { order: 2; } .ab .ab-q { order: 3; } .ab-a { order: 4; } .ab .ab-g { order: 5; }
  .ab .ab-a img { width: auto; height: 150px; }
  .ab .ab-a img:nth-child(2) { height: 112px; }
  .ab .ab-a { gap: 20px; padding-bottom: 0; }
  .ab .ab-g { flex-direction: row; align-items: flex-end; justify-content: center; gap: 20px; padding: 0; }
  .ab .ab-g img, .ab .ab-g img:nth-child(n) { width: auto; height: 130px; }
  .ab .ab-g img:first-child { height: 80px; margin-right: 0; }
}
@media (max-width: 560px) {
  .cards.p3, .cards.f5, .svc, .lists, .row { grid-template-columns: minmax(0, 1fr); }
  .cards.f5.mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { columns: 1; }
  .pfit.js { display: grid; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .card .ph img { transition: none; } .card:hover .ph img { transform: none; } }

/* pages légales */
.legal { padding-bottom: clamp(48px, 7vw, 96px); max-width: 72ch; }
.legal h2 { margin: 36px 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { margin: 0 0 .9em; }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; }
.legal a { border-bottom: 1px solid var(--line); }
.legal a:hover { color: var(--accent); border-color: var(--accent); }
.legal .updated { color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice.ok { color: var(--fg); }
.err404 { padding-block: clamp(48px, 10vw, 120px); }
.err404 p { max-width: 50ch; }

.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; z-index: 50; background: var(--bg); padding: 8px 12px; }
