/*
Theme Name: Sorbonne Laboratoire
Theme URI: https://sorbonnelaboratoire.fr
Author: Anthony Russo
Description: Catalogue de sorbonnes. Papier, typo condensée, objet dans le titre.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: sorbonne-laboratoire
*/

  :root {
    --paper: #e4e2cd;
    --ink: #111111;
    --muted: #6f6f6f;
    --stroke: #7b7b7b;
    --line: rgba(17,17,17,.55);
    --cta: #f8401c;
    --dark: #2a2c28;
    --panel: #3c3a32;
    --fill: #f3f1e6;
    --pad: clamp(18px, 3vw, 36px);
    --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
    --text: "Big Shoulders Text", "Arial Narrow", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 8;
    opacity: .28;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
    mix-blend-mode: multiply;
  }
  a { color: inherit; }
  button, input, select, textarea { font: inherit; color: inherit; }
  .skip {
    position: absolute; left: 12px; top: -40px; background: #111; color: #fff; padding: 8px 12px; z-index: 20;
  }
  .skip:focus { top: 12px; }

  .chrome {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px var(--pad) 0;
    position: relative;
    z-index: 5;
  }
  .menu-btn {
    appearance: none;
    border: 0;
    background: #111;
    color: #fff;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 16px 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    cursor: pointer;
  }
  .menu-btn i {
    width: 14px; height: 8px; display: block; position: relative;
  }
  .menu-btn i::before, .menu-btn i::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: #fff;
  }
  .menu-btn i::before { top: 1px; }
  .menu-btn i::after { bottom: 1px; }
  .domain {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding-top: 14px;
  }

  .view { display: block; padding: 18px var(--pad) 0; }

  .hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 12px 28px;
    padding-top: 8vh;
    min-height: 42vh;
  }
  .hero-line {
    display: flex;
    align-items: center;
    gap: .08em;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(64px, 9.4vw, 148px);
    line-height: .82;
    letter-spacing: -.03em;
    margin: 0;
  }
  .hero-line .paren { font-weight: 500; }
  .hero-obj {
    width: clamp(92px, 12vw, 168px);
    height: clamp(72px, 9vw, 128px);
    object-fit: contain;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,.18));
    margin: 0 .04em;
  }
  .lede {
    max-width: 62ch;
    margin: 22px 0 0;
    font-size: clamp(16px, 1.35vw, 20px);
    max-width: 68ch;
  }
  .hero-meta {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    text-align: right;
    padding-bottom: 8px;
    white-space: nowrap;
  }

  .filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 54px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
  }
  .filters button {
    appearance: none;
    border: 0;
    background: transparent;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    min-height: 44px;
    padding: 0;
    cursor: pointer;
    color: var(--muted);
  }
  .filters button.is-on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

  .cols, .row {
    display: grid;
    grid-template-columns: 108px minmax(0, 1.15fr) minmax(180px, 1.15fr) minmax(150px, 230px);
    gap: 18px;
    align-items: center;
  }
  .cols {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 10px 12px 8px;
    color: var(--ink);
  }
  .row {
    width: 100%;
    text-align: left;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    padding: 8px 12px;
    min-height: 92px;
    cursor: pointer;
    position: relative;
  }
  .row:last-child { border-bottom: 1px solid var(--line); }
  .row img {
    width: 92px;
    height: 64px;
    object-fit: contain;
  }
  .fname {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(22px, 2.4vw, 42px);
    line-height: .9;
    letter-spacing: -.02em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--stroke);
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }
  .usage { font-size: 16px; max-width: 28ch; }
  .badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 220px; }
  .badge {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 4px 8px;
    background: var(--paper);
    white-space: nowrap;
  }
  .badge.hot { background: var(--cta); color: #fff; border-color: var(--cta); }
  .row:hover, .row:focus-visible {
    background: var(--dark);
    outline: none;
  }
  .row:hover .fname, .row:focus-visible .fname {
    color: var(--fill);
    -webkit-text-stroke: 0;
  }
  .row:hover .usage, .row:focus-visible .usage,
  .row:hover .cols, .row:focus-visible .badge {
    color: var(--fill);
    border-color: var(--fill);
    background: transparent;
  }
  .row:hover img, .row:focus-visible img { mix-blend-mode: normal; filter: brightness(1.05); }
  .empty {
    padding: 28px 12px;
    font-family: var(--mono);
    font-size: 13px;
  }

  .news { margin-top: 72px; }
  .news h2, .block-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(64px, 8vw, 112px);
    line-height: .82;
    letter-spacing: -.03em;
    margin: 0 0 18px;
  }
  .news-head, .news-row {
    display: grid;
    grid-template-columns: 140px 280px 1fr;
    gap: 18px;
    border-top: 1px solid var(--ink);
    padding: 12px 0 16px;
  }
  .news-head {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding-bottom: 8px;
  }
  .news-row strong { font-weight: 500; }
  .tag {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: calc(100vh - 70px);
    margin: 0 calc(var(--pad) * -1);
  }
  .split-left { padding: 12px var(--pad) 28px; }
  .split-right {
    background: var(--panel);
    color: var(--fill);
    padding: 28px var(--pad) 36px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }
  .product-photo {
    width: min(100%, 520px);
    height: auto;
    display: block;
    margin: 12px auto 8px;
    filter: drop-shadow(0 16px 12px rgba(0,0,0,.16));
  }
  .split-right .product-photo { mix-blend-mode: normal; filter: none; display: none; }
  .spec {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 16px;
  }
  .spec th, .spec td {
    border-top: 1px solid var(--ink);
    text-align: left;
    vertical-align: top;
    padding: 8px 10px 8px 0;
    font-weight: 400;
  }
  .spec th {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    width: 34%;
    color: var(--muted);
  }
  .ghost {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(72px, 8vw, 120px);
    line-height: .8;
    letter-spacing: -.03em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(243,241,230,.72);
    margin: 8vh 0 18px;
    text-transform: uppercase;
  }
  .split-right p { max-width: 42ch; color: var(--fill); }
  .split-right h1.ghost, .split-right .ghost {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(243,241,230,.8);
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(72px, 8vw, 120px);
    line-height: .8;
    letter-spacing: -.03em;
    margin: 8vh 0 18px;
    text-transform: uppercase;
  }
  .limit {
    border: 1px solid rgba(243,241,230,.45);
    padding: 12px 14px;
    margin-top: 18px;
    max-width: 46ch;
    font-size: 16px;
  }
  .split-right .cta {
    min-height: 96px;
    padding: 0 36px;
    font-size: clamp(22px, 2.1vw, 32px);
    letter-spacing: .04em;
    font-weight: 500;
    width: min(100%, 640px);
    justify-content: center;
    margin-top: 40px;
  }
  .cta:hover, .cta:focus-visible { filter: brightness(1.08); outline: 2px solid #fff; outline-offset: 3px; }
  .pager { display: flex; gap: 10px; margin-top: 22px; }
  .pager button, .text-btn {
    appearance: none;
    background: transparent;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    min-height: 44px;
    min-width: 44px;
    padding: 0 16px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .split-right .pager button { border-color: var(--fill); color: var(--fill); }

  .form-wrap {
    background: var(--dark);
    color: var(--fill);
    padding: 22px 22px 26px;
    max-width: 720px;
    margin-top: 8px;
  }
  .form-wrap h1 { color: var(--fill); margin: 0 0 6px; }
  form { display: grid; gap: 12px; }
  label { display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  input, select, textarea {
    background: var(--fill);
    color: var(--ink);
    border: 0;
    min-height: 48px;
    padding: 10px 12px;
    font-family: var(--text);
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
  }
  textarea { min-height: 120px; resize: vertical; }
  .consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--text); font-size: 16px; letter-spacing: 0; text-transform: none; }
  .consent input { min-height: 22px; width: 22px; margin-top: 2px; }
  .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
  .form-note { font-size: 15px; color: #c8c6b8; margin: 0 0 12px; }
  .choices { display: grid; gap: 10px; max-width: 640px; }
  .choices button {
    text-align: left;
    background: transparent;
    border: 1px solid var(--ink);
    min-height: 52px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 18px;
  }
  .choices button.is-on, .choices button:hover { background: var(--dark); color: var(--fill); }
  .q { margin: 22px 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

  .overlay {
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 12;
    display: none;
    padding: 18px var(--pad);
  }
  .overlay.is-on { display: block; }
  .overlay nav { margin-top: 12vh; display: grid; }
  .overlay button {
    appearance: none;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(56px, 8vw, 104px);
    line-height: .86;
    letter-spacing: -.03em;
    cursor: pointer;
    padding: 0;
    color: transparent;
    -webkit-text-stroke: 1.5px #111;
  }
  .overlay button:hover, .overlay button:focus-visible {
    color: #111;
    -webkit-text-stroke: 0;
    outline: none;
  }
  footer {
    margin-top: 64px;
    background: #050306;
    color: #f3f1e6;
    padding: 22px var(--pad) 36px;
    display: grid;
    grid-template-columns: 180px 160px 180px 1fr;
    gap: 18px;
    position: relative;
    z-index: 4;
  }
  footer h2 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    font-weight: 500;
    margin: 0 0 10px;
    border-top: 1px solid rgba(243,241,230,.4);
    padding-top: 8px;
  }
  footer a, footer p { color: #f3f1e6; font-size: 15px; }
  footer p { margin: 0; max-width: 52ch; }
  footer button {
    appearance: none; background: none; border: 0; color: #f3f1e6; padding: 0;
    cursor: pointer; font: inherit; text-align: left; text-decoration: underline;
  }
  .status { min-height: 1.2em; font-family: var(--mono); font-size: 13px; }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; }
    .hero-line { flex-wrap: wrap; font-size: clamp(52px, 16vw, 84px); }
    .hero-meta { text-align: left; }
    .cols { display: none; }
    .row, .news-head, .news-row { grid-template-columns: 72px 1fr; }
    .usage, .news-row p, .news-head span:nth-child(3) { grid-column: 2; }
    .badges { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
    .fname { font-size: 40px; }
    .split { grid-template-columns: 1fr; }
    footer { grid-template-columns: 1fr 1fr; }
    .ghost { margin-top: 28px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
  }

.view { display: block; }
.admin-bar .chrome { padding-top: 46px; }
@media (min-width: 783px) { .admin-bar .chrome { padding-top: 18px; } }
.row { text-decoration: none; color: inherit; }
.cta {
  appearance: none;
  border: 0;
  background: var(--cta);
  color: #fff;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.filters a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}
.filters a.is-on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.overlay nav { margin-top: 12vh; display: grid; }
.overlay nav a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 104px);
  line-height: .86;
  letter-spacing: -.03em;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 1.5px #111;
}
.overlay nav a:hover, .overlay nav a:focus-visible { color: #111; -webkit-text-stroke: 0; }
.menu-cta { color: #111 !important; -webkit-text-stroke: 0 !important; font-size: clamp(32px, 4vw, 48px) !important; background: transparent; }
.chrome { align-items: center; }
.domain { text-decoration: none; padding-top: 0; }
.header-cta { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 12px; }
.chrome .menu-btn { margin-right: 18px; }
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 28px 0 8px;
}
.cats a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .8fr);
  gap: 36px 64px;
  align-items: center;
  max-width: none;
  margin: 64px 0 28px;
}
.intro-copy { max-width: 68ch; }
.intro h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: .9;
  letter-spacing: -.03em;
  margin: 0 0 28px;
}
.intro p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.intro p:last-child { margin-bottom: 0; }
.intro-fig { margin: 0; }
.intro-fig img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
@media (max-width: 860px) {
  .chrome { flex-wrap: wrap; gap: 10px; }
  .header-cta { margin-left: 0; }
  .intro { grid-template-columns: 1fr; margin-top: 40px; }
  .intro p { font-size: 18px; }
}
