/* ==========================================================================
   Ali Emre Pusane — personal site
   Plain CSS, no build step. Colours and type live in the tokens below.
   ========================================================================== */

:root {
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --ink: #17191d;
  --ink-2: #3d4047;
  --muted: #74777e;
  --rule: #d8d2c4;
  --rule-soft: #e6e1d5;
  --accent: #c8401c;        /* signal red */
  --accent-soft: #f0d9cf;
  --cool: #2d5c86;          /* Bosphorus blue, used for data */
  --cool-soft: #d6e1ea;
  --card: #fbf9f4;
  --shadow: 0 1px 0 rgba(23, 25, 29, .04), 0 12px 32px -18px rgba(23, 25, 29, .25);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111316; --paper-2: #171a1e; --ink: #ebe8e1; --ink-2: #c3c0b9; --muted: #8b8e95;
    --rule: #2e3237; --rule-soft: #23262b; --accent: #f06a43; --accent-soft: #3a211a;
    --cool: #7fb0dc; --cool-soft: #1d2a36; --card: #16191d;
    --shadow: 0 1px 0 rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111316; --paper-2: #171a1e; --ink: #ebe8e1; --ink-2: #c3c0b9; --muted: #8b8e95;
  --rule: #2e3237; --rule-soft: #23262b; --accent: #f06a43; --accent-soft: #3a211a;
  --cool: #7fb0dc; --cool-soft: #1d2a36; --card: #16191d;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 96px); letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; }
p { margin: 0 0 1em; }
em { font-style: italic; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.lede { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; color: var(--ink-2); font-weight: 300; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.prose { max-width: 66ch; }
.prose p { color: var(--ink-2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand b { font: 500 19px/1 var(--serif); letter-spacing: -.01em; }
.brand span { font: 400 11px/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font: 450 14px/1 var(--sans); text-decoration: none; color: var(--ink-2);
  padding: 9px 11px; border-radius: 999px; position: relative;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--accent);
}
.icon-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--rule); background: transparent; color: var(--ink-2); cursor: pointer; flex: none;
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.icon-btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-size: 20px; font-family: var(--serif); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--rule-soft); }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; margin-top: -2px; }
}

/* ---------- sections ---------- */
main { display: block; }
.section { padding: clamp(64px, 10vw, 128px) 0; border-top: 1px solid var(--rule); }
.section:first-child { border-top: 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { max-width: 18ch; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.split > .side { position: relative; }
.split > .side .sticky { position: sticky; top: 100px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > .side .sticky { position: static; } }

.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { margin: 0 0 26px; max-width: 14ch; }
.page-hero .lede { max-width: 40ch; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- home hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 0 0 28px; }
.hero h1 .given { display: block; color: var(--muted); font-style: italic; font-weight: 300; font-size: .5em; letter-spacing: -.01em; margin-bottom: .12em; }
.hero .lede { max-width: 34ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-size: 15px; }
.hero-meta a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); }
.hero-meta a:hover { color: var(--accent); }
.hero-meta svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.scope {
  position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 480px; justify-self: end;
  border: 1px solid var(--rule); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.scope-bar {
  position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; gap: 10px; white-space: nowrap; font: 400 11px/1.2 var(--mono); color: var(--muted); letter-spacing: .04em; pointer-events: none;
}
.scope-bar.top { top: 0; border-bottom: 1px solid var(--rule-soft); }
.scope-bar.bottom { bottom: 0; border-top: 1px solid var(--rule-soft); }
.scope-bar b { color: var(--ink); font-weight: 500; }
.scope-bar .live { display: inline-flex; gap: 7px; align-items: center; }
.scope-bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (max-width: 520px) { .scope-bar.bottom span:last-child { display: none; } }
@media (max-width: 900px) { .scope { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3.4; } }

/* ---------- about ---------- */
.portrait { position: relative; max-width: 300px; }
.portrait img { width: 100%; aspect-ratio: 224 / 300; object-fit: cover; border-radius: var(--radius); filter: grayscale(.15) contrast(1.02); }
.portrait figcaption { font: 400 12px/1.4 var(--mono); color: var(--muted); margin-top: 12px; }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.1em; line-height: .82; padding: .06em .1em 0 0; color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 56px; }
.fact { padding: 20px 18px 6px 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--rule); }
.fact b { display: block; font: 300 clamp(38px, 4.6vw, 58px)/1 var(--serif); letter-spacing: -.03em; }
.fact span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- lists / timelines ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline .when { font: 400 13px/1.7 var(--mono); color: var(--muted); }
.timeline .what { font-size: 16px; }
.timeline .what b { font-weight: 500; }
.timeline .what small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

.ledger { list-style: none; margin: 0; padding: 0; counter-reset: l; }
.ledger li { padding: 16px 0 16px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline; }
.ledger li:last-child { border-bottom: 1px solid var(--rule); }
.ledger .tag { font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }

.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); white-space: nowrap; }
.pill.accent { border-color: transparent; background: var(--accent-soft); color: var(--accent); }
.pill.cool { border-color: transparent; background: var(--cool-soft); color: var(--cool); }

/* award years strip */
.years { display: grid; grid-template-columns: repeat(16, minmax(0, 34px)); gap: 8px; margin-top: 22px; }
.years div { text-align: center; font: 400 10.5px/1 var(--mono); color: var(--muted); }
.years i { display: block; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--rule); margin-bottom: 8px; transition: transform .3s; }
.years .won i { background: var(--accent); border-color: var(--accent); }
.years .won { color: var(--ink); }
.years div:hover i { transform: scale(1.15); }
@media (max-width: 560px) { .years { grid-template-columns: repeat(8, minmax(0, 34px)); row-gap: 14px; } }

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; position: relative; }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
a.card { text-decoration: none; display: block; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .35s; }
a.card:hover { color: inherit; transform: translateY(-3px); border-color: var(--ink-2); box-shadow: var(--shadow); }
a.card .arrow { position: absolute; top: 22px; right: 22px; transition: transform .3s; color: var(--muted); }
a.card:hover .arrow { transform: translate(3px, -3px); color: var(--accent); }

.figure-frame { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.figure-frame img { width: 100%; }
figure { margin: 0; }
figcaption.cap { font: 400 12.5px/1.5 var(--mono); color: var(--muted); margin-top: 12px; }

/* ---------- buttons / inputs ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  font: 500 14px/1 var(--sans); text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.chip {
  font: 450 13px/1 var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--rule);
  background: transparent; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: .2s;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .n { font: 400 11px/1 var(--mono); opacity: .6; }

.search {
  width: 100%; font: 400 17px/1 var(--sans); color: var(--ink); background: var(--card);
  border: 1px solid var(--rule); border-radius: 999px; padding: 14px 18px 14px 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2374777e' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='5.2'/%3E%3Cpath d='m11 11 3.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 18px 50%;
}
.search:focus { outline: none; border-color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding: 56px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; font-size: 15px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid a.btn { color: var(--paper); }
.footer-grid a.btn:hover { color: #fff; }
.footer-big { font: 300 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); letter-spacing: -.02em; margin: 0 0 18px; max-width: 18ch; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); font: 400 12px/1.5 var(--mono); color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- dialog / lightbox ---------- */
dialog.viewer {
  border: 0; padding: 0; background: transparent; max-width: min(980px, 94vw); width: 100%; max-height: 92vh; color: var(--ink);
}
dialog.viewer::backdrop { background: rgba(10, 11, 13, .72); backdrop-filter: blur(4px); }
.viewer-inner { background: var(--paper); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; max-height: 92vh; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.viewer-head h3 { font-size: 24px; }
.viewer-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--rule); }
.viewer-body { overflow: auto; padding: 20px; background: var(--paper-2); }
.viewer-body img { margin: 0 auto 16px; border-radius: 3px; box-shadow: var(--shadow); background: #fff; }

/* utility */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* highlighted single item (e.g. a current role) */
.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--accent); border-radius: var(--radius); background: color-mix(in srgb, var(--accent-soft) 45%, var(--card)); }
.callout p { margin: 0; font: 400 clamp(18px, 1.7vw, 21px)/1.4 var(--serif); }
.callout b { font-weight: 500; }
.callout .pill { margin-top: 3px; flex: none; }

/* home hero: spectrum animation as a quiet background */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: clamp(340px, 46vh, 520px); align-content: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .62;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.3) 0%, rgba(0,0,0,.5) 30%, #000 60%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, rgba(0,0,0,.3) 0%, rgba(0,0,0,.5) 30%, #000 60%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 72%, transparent 100%);
          mask-composite: intersect; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .hero-bg { opacity: .38; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-bg { opacity: .4; } }
:root[data-theme="dark"] .hero-bg { opacity: .4; }

/* affiliation block under the name */
.affil { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.affil-logo { width: 56px; height: 56px; flex: none; object-fit: contain; }
.affil p { margin: 0; padding-left: 18px; border-left: 2px solid var(--accent); display: grid; gap: 2px; font-size: clamp(16px, 1.45vw, 18px); line-height: 1.45; color: var(--ink-2); }
.affil p span:first-child { color: var(--ink); font-weight: 500; }
.affil-logo + p { padding-left: 18px; }
/* language switch in the header */
.lang-btn { width: auto; min-width: 36px; padding: 0 9px; border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .04em; text-decoration: none; }
.lang-btn:hover { color: var(--accent); }
:root[data-theme="dark"] .affil-logo { background: #fff; border-radius: 50%; padding: 2px; }
a.card h3 { margin-top: 0; padding-right: 28px; }
/* page headers with a quiet animated background (e.g. radar on Research) */
.page-hero.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.page-hero.has-bg .hero-bg { opacity: .85;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.22) 0%, rgba(0,0,0,.5) 35%, #000 62%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to right, rgba(0,0,0,.22) 0%, rgba(0,0,0,.5) 35%, #000 62%), linear-gradient(to bottom, transparent 0%, #000 12%, #000 70%, transparent 100%); }
@media (max-width: 440px) { .brand span { display: none; } .site-header .wrap { gap: 12px; } }
.card > h3:first-child, .card > div > h3:first-child { margin-top: 0; }
/* teaching: drifting equations */
.eq-layer, .pt-layer { position: absolute; inset: 0; }
.eq { position: absolute; transform: translateY(10px); opacity: 0; color: var(--ink-2); white-space: nowrap;
  transition: opacity 2.4s ease, transform 14s linear; }
.eq.on { opacity: var(--eq-o, .8); transform: translateY(-12px); }
.eq.off { opacity: 0; transform: translateY(-26px); }
/* people / genealogy: blurred portrait tiles */
.pt-tile { position: absolute; overflow: hidden; border-radius: 14px; }
.pt-tile img { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; object-fit: cover; opacity: 0;
  filter: grayscale(1) blur(var(--pt-blur, 3px)) contrast(.95); transition: opacity 2.6s ease; animation: pt-drift 20s ease-in-out infinite alternate; }
.pt-tile img.on { opacity: .6; }
@keyframes pt-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-2%, -1%); } }
@media (prefers-reduced-motion: reduce) { .pt-tile img { animation: none; } .eq { transition: none; } }
.pt-sil .pt-tile { overflow: visible; }
.pt-sil .pt-tile img.on { opacity: .32; }
.pt-layer:not(.pt-sil) .pt-tile { -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 46%, #000 45%, transparent 100%); }
.pt-layer:not(.pt-sil) .pt-tile img.on { opacity: .5; }
