/* Evie Liu portfolio. One stylesheet for every page.
   Type: Inter 15px for all sans text, DM Serif Display as a graphic element. */

:root {
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
  --tile: #D8DDE3;
  --nav-bg: #2A2A2A;
}
.theme-dark  { --bg: #000000; --fg: #FFFFFF; --mut: #A3A3A3; --ln: #2A2A2A; --faint: #4A4A4A; }
.theme-light { --bg: #F5F5F3; --fg: #111111; --mut: #6B6B6B; --ln: #E0E0DC; --faint: #B8B8B3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--fg); }
a:hover { color: var(--mut); }
p { margin: 0; }
.mut { color: var(--mut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Page frame with vertical grid lines */
.wrap { position: relative; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.lines { position: absolute; top: 0; bottom: 0; left: 24px; right: 24px; pointer-events: none;
  background-image: linear-gradient(to right, var(--ln) 1px, transparent 1px); background-size: 25% 100%; border-right: 1px solid var(--ln); }
.g4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { padding-left: 20px; padding-right: 20px; min-width: 0; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; }
.c2 { grid-column-start: 2; } .c3 { grid-column-start: 3; }
.row { border-top: 1px solid var(--ln); }

/* Header and footer */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--ln); align-items: baseline; }
/* Extend the header's background edge to edge, so content that bleeds past the page never shows behind it */
.site-head::before { content: ''; position: absolute; top: 0; bottom: -1px; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--bg); z-index: -1; }
.site-head .cell { padding-top: 36px; padding-bottom: 36px; }
.site-head .name { font-family: var(--serif); font-size: 22px; line-height: 1; text-decoration: none; }
.site-head .touch { text-decoration: underline; text-underline-offset: 4px; }
.primary { display: flex; gap: 32px; align-items: baseline; }
.nav-link { text-decoration: none; color: var(--mut); }
.nav-link:hover { color: var(--fg); }
.dd { position: relative; }
.dd-btn { font: inherit; color: var(--mut); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.dd-btn:hover, .dd-btn[aria-expanded="true"], .dd-btn.is-current { color: var(--fg); }
.dd-btn svg { transition: transform .2s ease; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 20px); left: -20px; z-index: 40; min-width: 320px; margin: 0; padding: 16px 0; list-style: none; background: var(--bg); border: 1px solid var(--ln); }
.dd-panel[hidden] { display: none; }
.dd-panel a { display: block; padding: 10px 20px; text-decoration: none; }
.dd-panel a:hover { background: var(--ln); color: var(--fg); }
.site-foot { border-top: 1px solid var(--ln); align-items: end; }
.site-foot .big { font-family: var(--serif); font-size: clamp(56px, 9vw, 128px); line-height: .9; padding-top: 96px; padding-bottom: 96px; }
.site-foot .links { display: flex; flex-direction: column; gap: 12px; padding-top: 96px; padding-bottom: 104px; }

/* Serif as a graphic element */
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.h1 { font-size: clamp(52px, 6.2vw, 88px); line-height: .95; letter-spacing: -.02em; }
.hd { font-size: 44px; line-height: 1.12; margin: 0 0 56px; max-width: 760px; }
.num { font-family: var(--serif); font-size: 176px; line-height: .8; color: var(--faint); }
.metric { font-family: var(--serif); font-size: 64px; line-height: 1; }
.metric-xl { font-family: var(--serif); font-size: 88px; line-height: .95; letter-spacing: -.02em; }
.li-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--faint); margin: 0 0 20px; }

/* Body copy */
.t { max-width: 520px; margin: 0 0 36px; }
.t:last-child { margin-bottom: 0; }
.label { color: var(--mut); margin: 0 0 10px; }
.list { list-style: none; margin: 0 0 36px; padding: 0; max-width: 560px; }
.list li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; margin: 0 0 28px; }
.list li .n { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--faint); }

/* Sections */
.hero { padding-bottom: 160px; }
.hero .back { display: inline-flex; margin-top: 120px; color: var(--mut); }
.hero h1 { margin-top: 24px; }
.hero .statement { padding-top: 176px; }
.meta2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; max-width: 560px; }
.facts { padding-bottom: 280px; row-gap: 72px; }
.chapter { padding-top: 80px; padding-bottom: 280px; row-gap: 72px; }
.chapter.tight { padding-bottom: 160px; }
.block { padding-bottom: 180px; row-gap: 64px; }

/* Pull quote as a graphic element */
.pull { position: relative; margin: 48px 0; padding: 40px 0 40px 140px; }
.pull-mark { position: absolute; left: -8px; top: -40px; font-family: var(--serif); font-size: 280px; line-height: 1; color: var(--faint); }
.pull blockquote { margin: 0; max-width: 900px; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.01em; }
.pull figcaption { margin-top: 28px; color: var(--mut); }
@media (max-width: 860px) { .pull { padding: 72px 0 24px; margin: 24px 0; } .pull-mark { font-size: 180px; top: -24px; left: -4px; } }

/* Media */
.fig { margin: 0; }
.fig img, .fig video { width: 100%; height: auto; }
.fig.dark { padding: 6% 7%; }
.fig figcaption { margin-top: 20px; max-width: 520px; }
.tile { aspect-ratio: 1 / 1; background: var(--tile); padding: 32px; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: contain; }
.navfig { background: var(--nav-bg); padding: 48px; }
.show-m { display: none; }
.swipe-hint { display: none; color: var(--mut); margin-top: 16px; }

/* Section reveal: subtle fade and rise, only when JS is running */
.anim .sec { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.anim .sec.in { opacity: 1; transform: none; }

/* More work */
.more { padding-top: 32px; padding-bottom: 240px; }
.more-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.more-grid .card { padding: 0 20px; }
.card { display: block; text-decoration: none; }
.card .thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.cap-r { display: flex; align-items: center; gap: 10px; }
.lock { color: var(--mut); }

/* Landing page */
.intro { padding-top: clamp(48px, 10vh, 120px); padding-bottom: 56px; }
.intro h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -.02em; max-width: 800px; }
.tags { list-style: none; margin: 0; padding-top: clamp(48px, 10vh, 120px); padding-bottom: 56px; font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.tags li:nth-child(even) { font-style: italic; color: var(--mut); }
/* Impact numbers beside the intro */
.kpis { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: clamp(48px, 10vh, 120px); padding-bottom: 16px; }
.kpi-arrow { display: inline-block; width: .42em; height: .42em; margin: 0 .14em; vertical-align: .14em; }
.thumb.outlined { outline: 1px solid var(--ln); outline-offset: -1px; }
.kpis .metric { font-size: 64px; line-height: 1; margin-bottom: 8px; white-space: nowrap; letter-spacing: -.02em; }
.impact { border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.impact .cell { padding-top: 40px; padding-bottom: 48px; }
.impact .metric { font-size: 48px; }
.pile { position: relative; padding-bottom: 200px; }
.intro h1 em { font-family: var(--sans); font-weight: 700; font-style: normal; }
.intro h1 .rest { color: var(--mut); font-weight: 400; }
.projects-title { display: flex; align-items: center; gap: 10px; padding: 8px 20px 40px; font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.65; }
.scroll-cue { animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-2px); opacity: .45; } 50% { transform: translateY(4px); opacity: 1; } }
.pin { position: relative; }
.js .pin { position: sticky; top: var(--head, 96px); }
.stage { position: relative; z-index: 5; display: none; }
.js .stage { display: block; }
.pc { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }

.pc .cap { transition: opacity .4s ease; }
.pc .idx { font-family: var(--serif); font-size: 22px; color: var(--faint); }
.grid-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 96px; }
.grid-list .card { grid-column: span 2; }
.grid-list .card.s2 { grid-column: span 3; }
.js .grid-list { display: none; }

/* Art pages */
.art-hero .h1 { margin-top: 120px; }
.gallery { padding-bottom: 200px; row-gap: 120px; align-items: start; }
.art-nav { padding-top: 80px; padding-bottom: 200px; }
.art-nav a { text-decoration: none; }

/* Password page */
.gate { min-height: 70vh; padding-top: 120px; padding-bottom: 160px; }
.gate input { width: 100%; max-width: 360px; font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--mut); padding: 12px 0; margin: 24px 0; }
.gate button { font: inherit; color: var(--bg); background: var(--fg); border: 0; padding: 12px 28px; cursor: pointer; }

/* Tablet and phone */
@media (max-width: 1100px) {
  .grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 80px; }
  .grid-list .card, .grid-list .card.s2 { grid-column: auto; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .lines { left: 20px; right: 20px; background-image: none; border-left: 1px solid var(--ln); }
  .g4 { grid-template-columns: minmax(0, 1fr); }
  .s2, .s3, .s4, .c2, .c3 { grid-column: auto; }
  .cell { padding-left: 12px; padding-right: 12px; }
  .site-head .cell { padding-top: 20px; padding-bottom: 20px; }
  .site-head .name { padding-bottom: 0; }
  .primary { gap: 24px; }
  .dd { position: static; }
  .dd-panel { left: 0; right: 0; top: 100%; min-width: 0; border-left: 0; border-right: 0; padding: 12px 0; }
  .dd-panel a { padding: 12px 32px; }
  .intro { padding-top: 64px; padding-bottom: 56px; }
  .tags { padding-top: 0; padding-bottom: 64px; }
  .kpis { padding-top: 0; padding-bottom: 0; gap: 28px; }
  .kpis .metric { font-size: 52px; }
  .impact .cell { padding-top: 28px; padding-bottom: 28px; }
  .projects-title { padding: 56px 12px 32px; }
  .gallery { row-gap: 72px; padding-bottom: 140px; }
  .art-hero .h1 { margin-top: 64px; }
  .art-nav { padding-top: 56px; padding-bottom: 140px; row-gap: 48px; }
  .hide-m { display: none; }
  .show-m { display: block; }
  .cell:empty { display: none; }
  .hero .back { margin-top: 56px; }
  .hero .statement { padding-top: 40px; }
  .hero { padding-bottom: 96px; }
  .facts { padding-bottom: 160px; row-gap: 48px; }
  .chapter { padding-top: 56px; padding-bottom: 180px; row-gap: 48px; }
  .block { padding-bottom: 120px; row-gap: 40px; }
  .site-foot .big { padding-top: 72px; padding-bottom: 32px; }
  .site-foot .links { padding-top: 0; padding-bottom: 72px; }
  .more { padding-bottom: 160px; }
  .more-grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .more-grid .card { padding: 0 12px; }
  .hd { font-size: 30px; line-height: 1.15; margin-bottom: 28px; }
  .num { font-size: 96px; }
  .metric { font-size: 52px; }
  .metric-xl { font-size: 64px; }
  .anim .sec { transform: translateY(32px); }
  .js .grid-list, .grid-list { grid-template-columns: minmax(0, 1fr); row-gap: 72px; }
  .more .more-title { order: -1; }
  /* Wide images scroll sideways on phones */
  .fig.swipe { margin-right: -32px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .fig.swipe::-webkit-scrollbar { display: none; }
  .fig.swipe .inner { width: max-content; padding-right: 32px; }
  .fig.swipe img, .fig.swipe video { width: auto; max-width: none; height: var(--sh, 320px); }
  .fig.swipe .navfig img { height: 440px; }
  .swipe-hint.show { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
  .anim .sec { opacity: 1; transform: none; transition: none; }
}
.pad48 { padding: 48px; background: #000; }
.pad32 { padding: 32px; background: #000; }
@media (max-width: 860px) { .pad48 { padding: 24px; } .pad32 { padding: 16px; } }
.pad60 { padding: 60px; background: #000; }
@media (max-width: 860px) { .pad60 { padding: 30px; } }
@media (min-width: 861px) { .shrink { max-width: 71%; } }
@media (min-width: 861px) { .w73 { max-width: 73%; } .w70 { max-width: 70%; } }
@media (min-width: 861px) { .w70 { margin-left: auto; margin-right: auto; } .w73 { margin-left: 5.5%; } }
.padc { padding: 32px; }
@media (max-width: 860px) { .padc { padding: 16px; } }
@media (min-width: 861px) { .w80 { max-width: 80%; margin-left: auto; margin-right: auto; } }
.padc60 { padding: 60px; }
@media (max-width: 860px) { .padc60 { padding: 24px; } }
@media (min-width: 861px) {  .w72 { max-width: 72%; margin-left: auto; margin-right: auto; } }
.hd-xl { font-size: clamp(32px, 4vw, 56px); line-height: 1.15; }
.hd.hd-xl { max-width: 1000px; }
.gst { display: flex; align-items: center; justify-content: center; aspect-ratio: 1272 / 770; }
.gst .fig { margin: 0; }
.gst .ipad { overflow: hidden; }
.gst .ipad img, .gst .ipad video { display: block; width: 100%; height: auto; }
.gst43 { aspect-ratio: 4 / 3; }
.gst .ipad { width: var(--w); }
@media (max-width: 860px) { .gst { aspect-ratio: auto; padding: 32px 0; } .gst .ipad { width: var(--wm, 88%); } }
.gst, .gst43 { aspect-ratio: auto; }
.trio { display: flex; gap: 32px; justify-content: center; align-items: flex-start; }
.trio > * { width: 26%; }
.trio img, .trio video { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .trio { justify-content: flex-start; overflow-x: auto; gap: 16px; margin-right: -32px; padding-right: 32px; scrollbar-width: none; } .trio::-webkit-scrollbar { display: none; } .trio > * { width: 62%; flex: none; } }
.ol { overflow: hidden; position: relative; }
.ol::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #4a4a4a; pointer-events: none; }
.ol img, .ol video { display: block; width: 100%; height: auto; }
.meta1 { grid-template-columns: 1fr !important; }
.art-col { display: flex; flex-direction: column; align-items: center; gap: 72px; }
.art-one { margin: 0; display: flex; justify-content: center; width: 100%; }
.art-one img, .art-one video { display: block; width: auto; height: auto; max-width: min(100%, 900px); max-height: 85vh; }
@media (max-width: 860px) { .art-col { gap: 32px; } .art-one img, .art-one video { max-height: none; max-width: 100%; } }
.sized { margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .sized { max-width: 100% !important; } }
.art-row { display: flex; gap: 32px; justify-content: center; align-items: flex-start; width: 100%; }
.art-row .art-one img { max-height: 70vh; }
@media (max-width: 860px) { .art-row { flex-direction: column; gap: 32px; } }
.tgrid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 24px; }
.tgrid .fig p { margin: 10px 0 0; }
.ttable { border-top: 1px solid var(--ln); }
.trow { display: grid; grid-template-columns: 1.6fr .8fr 1.2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ln); }
.ttable3 .trow { grid-template-columns: .6fr 2fr 2fr; }
.trow strong { font-weight: 500; color: var(--mut); }
.rules { margin: 0; padding: 20px 24px 20px 40px; background: #111; border: 1px solid var(--ln); border-radius: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.8; }
@media (max-width: 860px) {
  .tgrid { grid-template-columns: 1fr; }
  .tgrid-m { grid-template-columns: repeat(6, 62%); overflow-x: auto; margin-right: -32px; padding-right: 32px; }
  .ttable3 .trow { grid-template-columns: 1fr; gap: 4px; }
}
.ph{aspect-ratio:4/3;border:1px dashed #4a4a4a;border-radius:10px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:20px;color:#8a8a8a}
.ph strong{color:#fff;font-weight:400}
/* device mockups */
.dev-laptop{max-width:86%;margin:0 auto}
.dev-laptop .lid{background:#0b0b0c;border:1px solid #3c3c40;border-bottom:0;border-radius:22px 22px 0 0;padding:2.4% 2.4% 2.8%;position:relative}
.dev-laptop .lid::before{content:"";position:absolute;top:1%;left:50%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#26262a}
.dev-laptop .lid video,.dev-laptop .lid img{display:block;width:100%;height:auto;border-radius:4px}
.dev-laptop .base{position:relative;height:clamp(10px,1.6vw,22px);margin:0 -7%;background:linear-gradient(#d9d9de,#a5a5ab 55%,#6f6f75);border-radius:2px 2px 16px 16px}
.dev-laptop .base::before{content:"";position:absolute;top:0;left:50%;width:16%;height:40%;margin-left:-8%;background:#8d8d93;border-radius:0 0 10px 10px}
.dev-phone{max-width:340px;background:#0b0b0c;border:1px solid #3c3c40;border-radius:56px;padding:12px;position:relative;box-shadow:inset 0 0 0 4px #1b1b1e}
.dev-phone::before{content:"";position:absolute;top:24px;left:50%;width:28%;height:26px;margin-left:-14%;background:#000;border-radius:20px;z-index:2}
.dev-phone video,.dev-phone img{display:block;width:100%;height:auto;border-radius:44px}
@media (max-width:760px){.dev-laptop{max-width:100%}.dev-laptop .lid{border-radius:12px 12px 0 0}.dev-phone{max-width:300px;margin:0 auto;border-radius:48px}.dev-phone video{border-radius:37px}}
.dev-phone .scr{background:#fff;border-radius:44px;overflow:hidden;padding:50px 0 24px}
.dev-phone .scr video,.dev-phone .scr img{border-radius:0}
@media (max-width:760px){.dev-phone .scr{border-radius:37px;padding:44px 0 20px}}
/* specimen boards and hierarchy diagrams */
.spec{background:#EDEBE7;border-radius:16px;padding:48px;color:#1b1b1b}
.spec-t{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#77736d;margin:0 0 32px}
.spec-g{display:grid;grid-template-columns:repeat(var(--sc,1),minmax(0,1fr));gap:40px 32px;align-items:start}
.spec-i{margin:0}
.spec-i figcaption{font-size:13px;line-height:1.4;color:#4d4a45;margin:0 0 12px}
.spec-i figcaption b{font-weight:500;color:#1b1b1b;margin-right:6px}
.spec-i img{display:block;width:100%;height:auto;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06),0 10px 28px rgba(0,0,0,.07)}
.spec-i.narrow img{max-width:560px}
.wf-g{display:grid;grid-template-columns:repeat(var(--sc,2),minmax(0,1fr));gap:32px}
.wf-t{font-size:13px;color:#4d4a45;margin:0 0 12px}
.wf-t b{font-weight:500;color:#1b1b1b}
.wf-page{background:#fff;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 1px 2px rgba(0,0,0,.06),0 10px 28px rgba(0,0,0,.07)}
.wf-row{display:flex;gap:8px}
.wf-row>.wf-b{flex:1}
.wf-b{border-radius:6px;padding:8px 10px;font-size:12px;line-height:1.3;display:flex;flex-direction:column;justify-content:space-between;background:#F1F0EE;color:#4d4a45}
.wf-b.hi{background:#E4E0FB;color:#2d2470}
.wf-b.lo{background:transparent;border:1px dashed #cfccc6;color:#8a867f}
.wf-b i{font-style:normal;font-size:11px;color:#6b4fd8;margin-top:6px}
@media (max-width:760px){.spec{padding:20px;border-radius:12px}.spec-g,.wf-g{grid-template-columns:1fr;gap:28px}}
.pairs{display:flex;flex-direction:column;gap:48px}
.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.4fr);gap:32px;align-items:start}
.pair .wf-page{min-height:0}
.big-img{max-width:1040px}
.big-img img{display:block;width:100%;height:auto;border-radius:8px}
@media (max-width:760px){.pair{grid-template-columns:1fr;gap:16px}}
/* keep the grid lines on very tall pages: small repeating tile instead of one huge gradient */
.lines{background-size:25% 64px;background-repeat:repeat}
.spec-i.padw img{padding:16px;background:#fff;box-sizing:border-box}
.dir{margin-top:8px}
.dir + .dir{margin-top:56px}
.dir-t{font-size:15px;font-weight:500;color:#1b1b1b;margin:0 0 20px}
.dup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.dup figure{margin:0}.dup figcaption{font-size:13px;color:#a9a9a9;margin:0 0 12px}
.dup img{display:block;width:100%;height:auto;border-radius:10px}
@media (max-width:760px){.dup{grid-template-columns:1fr}}
/* screenshots without shadows; explorations on the page background */
.spec-i img{box-shadow:none}
.plain .spec-i figcaption{color:#a9a9a9}
.plain .spec-i figcaption b{color:#fff}
.plain .dir-t{color:#fff}
.plain .spec-i img{border-radius:10px}
.wf-plain .wf-t{color:#a9a9a9}.wf-plain .wf-t b{color:#fff}
.wf-plain .wf-page{box-shadow:none}
.center{margin-left:auto;margin-right:auto}
/* center every image in its column */
.fig img,.fig video,.big-img img,.spec-i img,.dup img{margin-left:auto;margin-right:auto}
.zoom img{display:block;width:100%;height:auto;border-radius:8px}
@media (max-width: 860px) { .zoom { width: auto !important; margin-left: 0 !important; } .zoom img { border-radius: 0; } }
@media (max-width: 520px) { .h1 { font-size: min(52px, 11.5vw); } }
/* Landing page background; art pages have no grid */
.page-home, .page-art { --bg: #FFFFFF; --ln: #E6E6E6; }
.page-art .lines { display: none; }
.page-art .row { border-top: 0; }

.page-art .art-first { padding-top: 40px; }
