/* Volkan Akça — site.css
   Two tones only: black and white, as in the mark.
   One typeface: Anybody (variable width 50–150, weight 100–900).
   The moving part is the list of disciplines; everything else stays still. */

:root {
  --pad: clamp(1rem, 3vw, 2.5rem);
  --row: 2.75rem;                 /* set from JS: stage height / 13 */
  --mark: min(36vw, 60vh);        /* diameter of the mark */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  overflow-x: clip;
  background: #000;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Anybody", "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* the page itself: one box, so that js/build.js can shrink it into an artboard */
.page {
  position: relative;
  /* exactly one screen; the list is sized to what is left. Very short screens scroll. */
  height: 100vh;
  height: 100svh;
  min-height: 30rem;
  display: grid;
  /* floor = 13 rows x 26px (MIN_ROW in js/site.js) + the stage padding; below it the page scrolls */
  grid-template-rows: auto minmax(calc(13 * 26px + 2.5rem), 1fr) auto;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: #000;
  transform-origin: 0 0;
}

h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- header ---------- */

@supports (height: 100svh) {
  :root { --mark: min(36vw, 60svh); }
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  align-items: start;
  padding: var(--pad) var(--pad) 0;
}
.name {
  grid-column: 1;
  font-size: 1.125rem;
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.2;
}
.role {
  grid-column: 1;
  font-size: .9375rem;
  font-weight: 400;
  font-stretch: 96%;
}
.mail {
  grid-column: 2; grid-row: 1 / 3;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: .25rem 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.mail:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- the list ---------- */

.stage {
  position: relative;
  min-height: 0;
  padding: clamp(1rem, 3.5vh, 2.5rem) var(--pad);
  /* the list never runs under the mark */
  padding-right: calc(var(--pad) + var(--mark) + clamp(1rem, 3vw, 3rem));
  display: flex;
}
.fields {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fields li {
  height: var(--row);
  line-height: var(--row);
  font-size: calc(var(--row) * 1.16);
  font-weight: 500;
  font-stretch: 80%;
  letter-spacing: -.012em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fields span {
  display: inline-block;
  transform-origin: 0 50%;
  will-change: font-variation-settings;
}
/* without JS nothing sizes the rows: let them size themselves and let the page scroll */
html:not(.js) .page { height: auto; min-height: 100vh; min-height: 100svh; }
html:not(.js) .fields li { height: auto; line-height: 1.1; font-size: clamp(1.25rem, 6vw, 2.75rem); white-space: normal; }

/* ---------- the mark ---------- */

.mark {
  position: absolute;
  z-index: 5;
  right: calc(var(--pad) + env(safe-area-inset-right, 0px));
  top: 50%;
  width: var(--mark);
  aspect-ratio: 1;
  margin: 0; padding: 0;
  transform: translateY(-50%);
  background: none; border: 0; border-radius: 50%;
  color: #fff;
  mix-blend-mode: difference;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mark__ring { fill: none; stroke: currentColor; stroke-width: 40; }
.mark__letters { fill: currentColor; fill-rule: evenodd; stroke: currentColor; stroke-width: 0; }
.mark:focus-visible { outline-offset: 8px; }

/* the occasional slip (js/site.js): for a few frames the strip copy stands in for the mark */
.mark__strips { display: none; }
.mark svg.is-slipping .mark__strips { display: inline; }
.mark svg.is-slipping > .mark__ring,
.mark svg.is-slipping > .mark__letters { visibility: hidden; }

/* ---------- footer ---------- */

.foot {
  padding: 0 var(--pad) var(--pad);
  font-size: .8125rem;
  font-weight: 400;
}
.foot p { width: fit-content; max-width: 100%; text-wrap: balance; }
/* boxes hug their text, so a selection frame around them is the size of the words */
.name, .role { justify-self: start; }

/* ---------- the wall: the list as one justified block of type (js/wall.js) ---------- */

.wall {
  position: absolute;
  left: var(--pad); top: clamp(1rem, 3.5vh, 2.5rem); bottom: clamp(1rem, 3.5vh, 2.5rem);
  right: calc(var(--pad) + var(--mark) + clamp(1rem, 3vw, 3rem));
  overflow: hidden; isolation: isolate;                 /* the inverting layers blend against the wall only */
  background: #000; color: #fff;
  opacity: 0; visibility: hidden; pointer-events: none;
  touch-action: none; user-select: none; -webkit-user-select: none;
  font-kerning: none; font-synthesis: none; font-optical-sizing: none;
  -webkit-tap-highlight-color: transparent;
}
/* once the page is released the wall takes over from the list, which stays in the document for readers */
.walled .wall { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .7s ease; }
.walled .fields { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.wall__rows { position: absolute; inset: 0; }
.wall__row { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.wall__glyph { position: absolute; left: 0; top: 0; display: block; line-height: 1; white-space: pre; }
/* the rule between two disciplines sharing a row: cap-height tall, cut at the mark's angle */
.wall__rule { position: absolute; left: 0; top: calc((var(--base) - var(--cap)) * 1em); height: calc(var(--cap) * 1em); background: currentColor; }
/* white + difference = exact black / white inversion of whatever is underneath */
.wall__inv { position: absolute; inset: 0; display: none; background: #fff; mix-blend-mode: difference; pointer-events: none; }

/* on short screens the page scrolls: there the wall lets vertical panning and pinch-zoom through
   (the lens then follows taps and sideways drags only) */
@media (max-height: 34rem) {
  .wall { touch-action: pan-y pinch-zoom; }
}

/* ---------- the rings: the mark's other face, opened from the mark (js/rings.js) ---------- */

.rings {
  position: fixed; inset: 0; z-index: 50;
  background: #000;
  visibility: hidden; pointer-events: none;
  clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path .95s var(--ease-in-out), visibility 0s .95s;
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair;
}
.rings.is-open {
  visibility: visible; pointer-events: auto;
  clip-path: circle(var(--r, 150vmax) at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path .95s var(--ease-in-out);
}
.rings svg { display: block; width: 100%; height: 100%; }
.rings text { font-family: "Anybody", "Arial Narrow", Arial, sans-serif; fill: #fff; text-rendering: geometricPrecision; font-kerning: normal; white-space: pre; }
.rings__sep { fill: none; stroke: #fff; stroke-linecap: butt; }
#rings-va { fill: #fff; }
/* while the rings are open the mark stays on top as the way back; on wide screens the figure's own
   VA sits exactly where it is, so its drawing is hidden and only the button remains */
html.rings-open, html.rings-open body { overflow: hidden; }
.rings-open .mark { z-index: 60; }
@media (min-width: 721px) {
  /* opening: the real mark stays in place, on top of the figure's own VA, until the edge of the
     opening has passed its ring; closing: it is back at once, under the layer */
  .rings-open .mark { mix-blend-mode: normal; }
  .rings-open .mark svg { opacity: 0; transition: opacity 0s .35s; }
}
@media (max-width: 720px) { .rings-open .mark { mix-blend-mode: normal; background: #000; box-shadow: 0 0 0 .5rem #000; } }


/* ---------- arrival ----------
   Nothing is shown until it has been placed: the opening sequence (js/intro.js)
   brings the mark, then the page is laid out as in a design tool (js/build.js). */

.js [data-place] { visibility: hidden; }
.js [data-place].placed { visibility: visible; }

.intro {
  position: fixed; inset: 0; z-index: 100;
  display: block; width: 100%; height: 100%;
}
/* the canvas draws the mark until it lands; the page's own mark then takes over */
.intro-on .mark svg { visibility: hidden; }
.intro-on.intro-done .mark svg { visibility: visible; }

/* ---------- the design tool (js/build.js) ----------
   Everything here sits above the page in screen coordinates. Black, white, hairlines. */

.tool {
  position: fixed; inset: 0; z-index: 60;
  overflow: hidden; pointer-events: none;
  font-size: .6875rem; font-weight: 500; font-stretch: 100%; line-height: 1.5;
  color: #fff;
  --move: .7s cubic-bezier(.3, 0, .2, 1);
}
html.building, html.building body { overflow: hidden; }
html.building .page { pointer-events: none; }
/* states the tool puts on the real list: a selected word, and fill swapped for stroke */
.fields span.is-sel { background: #fff; color: #000; }
.fields.is-outlined span { color: #000; -webkit-text-stroke: calc(2px / var(--s, 1)) #fff; paint-order: stroke fill; }
.tool.is-instant, .tool.is-instant * { transition: none !important; }
.tool.is-gone { opacity: 0; transition: opacity .4s ease; }

.tool__bar, .tool__layers, .tool__props { position: absolute; background: #000; transition: transform var(--move); }
.tool__bar {
  inset: 0 0 auto 0; height: 44px;
  display: flex; align-items: center; gap: 1rem; padding: 0 .875rem;
  border-bottom: 1px solid #fff;
  transform: translateY(-101%);
}
.tool__layers { left: 0; top: 44px; bottom: 0; width: 208px; border-right: 1px solid #fff; transform: translateX(-101%); padding: .75rem 0; }
.tool__props { right: 0; top: 44px; bottom: 0; width: 232px; border-left: 1px solid #fff; transform: translateX(101%); padding: .75rem .875rem; }
.tool.is-in .tool__bar, .tool.is-in .tool__layers, .tool.is-in .tool__props { transform: none; }
.tool.is-out .tool__bar { transform: translateY(-101%); }
.tool.is-out .tool__layers { transform: translateX(-101%); }
.tool.is-out .tool__props { transform: translateX(101%); }

.tool__file { font-weight: 700; white-space: nowrap; }
.tool__tools { display: flex; gap: 2px; margin: 0 auto; }
.tool__tools i, .tool__play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 3px; }
.tool__tools svg, .tool__play svg { width: 16px; height: 16px; }
.tool__tools i.is-on, .tool__play.is-on { background: #fff; color: #000; }
.tool__zoom { font-variant-numeric: tabular-nums; min-width: 3em; text-align: right; }
.tool__play { border: 1px solid #fff; }
.tool__play svg { fill: currentColor; }

.tool__title { margin: 0 0 .5rem; font-weight: 700; }
.tool__layers .tool__title { padding: 0 .875rem; }
.tool__layers ul { margin: 0; padding: 0; list-style: none; }
.tool__layers li { display: flex; align-items: center; gap: .5rem; padding: .1875rem .875rem; white-space: nowrap; }
.tool__layers li i { flex: none; width: 1em; font-style: normal; text-align: center; opacity: .7; }
.tool__layers li span { overflow: hidden; text-overflow: ellipsis; }
.tool__layers li.is-on { background: #fff; color: #000; }

.tool__box { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; margin-bottom: 1.125rem; }
.tool__box span { display: flex; justify-content: space-between; gap: .5rem; padding: .25rem .5rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; }
.tool__box b { font-weight: 500; font-variant-numeric: tabular-nums; }
.tool__face { margin: 0 0 .75rem; padding: .25rem .5rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; }
.tool__slider { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) 2rem; align-items: center; gap: .625rem; margin-bottom: .625rem; }
.tool__slider b { position: relative; height: 1px; background: #fff; }
.tool__slider b i { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; }
.tool__slider em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }

.tool__ruler { position: absolute; opacity: 0; transition: opacity .5s ease; background-color: #000; }
.tool.is-in .tool__ruler { opacity: 1; }
.tool.is-out .tool__ruler { opacity: 0; }
.tool__ruler--h {
  left: 208px; right: 232px; top: 44px; height: 18px; border-bottom: 1px solid rgba(255, 255, 255, .45);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .4) 1px, transparent 1px);
  background-size: calc(var(--tick, 10px) * 5) 100%, var(--tick, 10px) 5px;
  background-position: var(--at, 18px) 0, var(--at, 18px) 100%; background-repeat: repeat-x;
}
.tool__ruler--v {
  left: 208px; top: 62px; bottom: 0; width: 18px; border-right: 1px solid rgba(255, 255, 255, .45);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, .4) 1px, transparent 1px);
  background-size: 100% calc(var(--tick, 10px) * 5), 5px var(--tick, 10px);
  background-position: 0 var(--at, 0px), 100% var(--at, 0px); background-repeat: repeat-y;
}

.tool__label { position: absolute; left: 0; top: 0; opacity: 0; white-space: pre; }

.tool__frame { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 1px solid #fff; opacity: 0; }
.tool__frame i { position: absolute; width: 7px; height: 7px; background: #000; border: 1px solid #fff; }
.tool__frame i:nth-child(1) { left: -4px; top: -4px; }
.tool__frame i:nth-child(2) { right: -4px; top: -4px; }
.tool__frame i:nth-child(3) { left: -4px; bottom: -4px; }
.tool__frame i:nth-child(4) { right: -4px; bottom: -4px; }
.tool__size, .tool__gap {
  padding: 0 6px; border-radius: 2px;
  background: #fff; color: #000; font-weight: 600;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.tool__size { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); }
.tool__size:empty { display: none; }
.tool__gap { position: absolute; left: 0; top: 0; opacity: 0; }
.tool__guide { position: absolute; left: 0; top: 0; background: #fff; opacity: 0; }
.tool__guide--v { width: 1px; height: 100%; }
.tool__guide--h { height: 1px; width: 100%; }
.tool__ghosts { transition: opacity .4s ease; }
.tool.is-out .tool__ghosts { opacity: 0; }
.tool__ghost { position: absolute; left: 0; top: 0; border: 1px solid rgba(255, 255, 255, .34); }
.tool__caret { position: absolute; left: 0; top: 0; width: 1.5px; height: 1em; background: #fff; opacity: 0; }
/* panels sit above the canvas; whatever is drawn on the artboard passes under them */
.tool__bar, .tool__layers, .tool__props, .tool__time, .tool__ruler { z-index: 2; }
.tool__cursor, .tool__menu, .tool__keys { z-index: 3; }

/* fill and stroke, with the swap (Shift X) */
.tool__swap { position: relative; width: 24px; height: 24px; }
.tool__swap i { position: absolute; width: 15px; height: 15px; }
.tool__swap i:first-child { left: 0; top: 0; z-index: 1; background: #fff; border: 1px solid #fff; }
.tool__swap i:last-child { right: 0; bottom: 0; border: 1px solid #fff; background: linear-gradient(to top right, transparent calc(50% - .5px), #fff calc(50% - .5px), #fff calc(50% + .5px), transparent calc(50% + .5px)) #000; }
.tool__swap.is-swapped i:first-child { background: linear-gradient(to top right, transparent calc(50% - .5px), #fff calc(50% - .5px), #fff calc(50% + .5px), transparent calc(50% + .5px)) #000; }
.tool__swap.is-swapped i:last-child { background: #000; border-width: 4px; }

/* the axis sliders exist only once the face is a variable one */
.tool__slider { max-height: 2rem; overflow: hidden; transition: opacity .3s ease, max-height .3s ease, margin .3s ease; }
.tool.no-axes .tool__slider { max-height: 0; margin-bottom: 0; opacity: 0; }

/* the cursor carries its owner's name, as in a shared file */
.tool__cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -2px 0 0 -4px; opacity: 0; }
.tool__cursor svg { display: block; width: 22px; height: 22px; transition: scale .1s ease; transform-origin: 20% 10%; }
.tool__cursor path { fill: #000; stroke: #fff; }
.tool__cursor.is-direct path { fill: #fff; stroke: #000; }
.tool__cursor.is-down svg { scale: .86; }
.tool__cursor span {
  position: absolute; left: 16px; top: 20px;
  padding: 0 6px; border-radius: 2px 8px 8px 8px;
  background: #fff; color: #000; font-weight: 700; white-space: nowrap;
}

/* keys being pressed */
.tool__keys { position: absolute; left: 0; top: 0; display: flex; gap: 6px; opacity: 0; transition: opacity .25s ease; }
.tool__keys kbd {
  min-width: 2.25em; padding: .3125rem .625rem; text-align: center;
  font: inherit; font-weight: 700; font-size: .8125rem;
  background: #000; border: 1px solid #fff; border-bottom-width: 3px; border-radius: 5px;
}
.tool__keys kbd svg { display: block; width: 1.1em; height: 1.1em; margin: .1em auto; }

/* font menu */
.tool__menu {
  position: absolute; left: 0; top: 0; margin: 0; padding: 4px 0; list-style: none;
  background: #000; border: 1px solid #fff; border-radius: 3px;
  font-size: .8125rem; font-weight: 400; opacity: 0;
}
.tool__menu li { padding: .25rem .75rem; white-space: nowrap; }
.tool__menu li.is-on { background: #fff; color: #000; }

/* the mark in outline view: hairline paths, anchors, handles, the measured angle, the cut */
.tool__outline { position: absolute; left: 0; top: 0; overflow: visible; fill: none; stroke: #fff; stroke-width: 1; }
.tool__outline * { vector-effect: non-scaling-stroke; }
.tool__outline .o-paths, .tool__outline .o-measure, .tool__outline .o-rule, .tool__outline .o-cut { visibility: hidden; }
.tool.is-outline .o-paths, .tool.is-measuring .o-measure, .tool.is-ruled .o-rule, .tool.is-cut .o-cut { visibility: visible; }
.tool__outline .o-expanded { display: none; }
.tool.is-expanded .o-expanded { display: inline; }
.tool.is-expanded .o-centre { display: none; }
.tool__outline .is-handle { stroke: rgba(255, 255, 255, .55); }
.tool__outline .o-measure, .tool__outline .o-rule { stroke-dasharray: 4 4; }
.tool__outline .o-cut { stroke: rgba(255, 255, 255, .7); }
.tool__points { visibility: hidden; }
.tool.is-outline .tool__points { visibility: visible; }
.tool__points i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #000; border: 1px solid #fff; }
.tool__points i.is-round { border-radius: 50%; background: #fff; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
.tool__points i.is-on { background: #fff; }
.tool__points i.p-expanded { display: none; }
.tool.is-expanded .tool__points i.p-expanded { display: block; }
.tool.is-expanded .tool__points i.p-centre { display: none; }
.tool__angle {
  position: absolute; left: 0; top: 0; visibility: hidden;
  padding: 0 6px; border-radius: 2px;
  background: #fff; color: #000; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tool.is-measuring .tool__angle { visibility: visible; }

/* the pixel grid, at very high zoom */
.tool__pixels {
  position: absolute; inset: 0; opacity: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
}
.tool__guide--v.is-hit { width: 3px; margin-left: -1px; }

/* timeline */
.tool__time {
  position: absolute; left: 208px; right: 232px; bottom: 0; height: 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; row-gap: .75rem;
  padding: .75rem .875rem;
  background: #000; border-top: 1px solid #fff;
  transform: translateY(101%); transition: transform var(--move);
}
.tool.has-time .tool__time { transform: none; }
.tool.is-out .tool__time { transform: translateY(101%); }
.tool__time .tool__title { margin: 0; }
.tool__clock { font-variant-numeric: tabular-nums; }
.tool__track { grid-column: 1 / -1; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); align-items: center; gap: .625rem; padding-right: 6px; }
.tool__track b { position: relative; height: 22px; border-top: 1px solid rgba(255, 255, 255, .45); border-bottom: 1px solid rgba(255, 255, 255, .45); }
.tool__track b i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; rotate: 45deg; }
.tool__track b i + i { left: 100%; }
.tool__track b u { position: absolute; top: -9px; bottom: -6px; left: 0; width: 1px; background: #fff; }
.tool__track b u::before { content: ""; position: absolute; left: -5px; top: -1px; width: 11px; height: 9px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* phones: no side panels; the properties become a strip along the bottom */
@media (max-width: 719px) {
  .tool__layers, .tool__ruler, .tool__file { display: none; }
  .tool__props {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 104px;
    border-left: 0; border-top: 1px solid #fff;
    transform: translateY(101%);
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 1rem; align-content: start;
  }
  .tool.is-out .tool__props { transform: translateY(101%); }
  .tool__props .tool__title, .tool__face { display: none; }
  .tool__box { grid-row: 1 / 3; margin: 0; align-self: start; }
  .tool__slider { grid-column: 2; }
  .tool__tools { margin: 0 auto 0 0; }
  .tool__zoom { display: none; }
  .tool__bar { gap: .625rem; }
  .tool__time { left: 0; right: 0; height: 104px; z-index: 3; }
  .tool.has-time .tool__cursor, .tool.has-time .tool__keys { z-index: 4; }
}

/* ---------- narrow screens ---------- */

@media (max-width: 720px) {
  .head { grid-template-columns: minmax(0, 1fr); padding-right: calc(var(--pad) + 6.5rem); row-gap: 0; }
  .mail { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; }
  :root { --mark: 5.5rem; }
  .mark { top: calc(var(--pad) + env(safe-area-inset-top, 0px)); right: calc(var(--pad) + env(safe-area-inset-right, 0px)); transform: none; }
  .stage { padding: 1.25rem var(--pad); }
  .wall { top: 1.25rem; bottom: 1.25rem; right: var(--pad); }
}

/* Motion plays for every visitor (the owner's decision). The one exception is in
   js/intro.js: visitors who ask for reduced motion do not get the negative frame. */

/* ---------- print ---------- */

@media print {
  html, body { background: #fff; color: #000; }
  .mark { color: #000; mix-blend-mode: normal; }
  .rings-open .mark { background: none; box-shadow: none; }
  .rings-open .mark svg { opacity: 1; }
  .rings, .wall, .intro, .tool { display: none; }
  .fields { opacity: 1 !important; }
  [data-place] { visibility: visible !important; }
  .mark__strips { display: none !important; }
  .mark svg > .mark__ring, .mark svg > .mark__letters { visibility: visible !important; }
}
