/* yann · youarenotnumbers.org
   White paper, black ink, one red thread. */

@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-ext.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic-ext.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("/fonts/noto-naskh-arabic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("/fonts/noto-naskh-arabic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Aref Ruqaa"; src: url("/fonts/aref-ruqaa-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  color-scheme: light;
  --paper: #fff;
  --tint: #f5f5f6;
  --ink: #15161a;
  --ink-2: #303238;
  --ink-soft: #5d6067;
  --line: #e7e7ea;
  --wash: #868b94;
  --red: #a3312a; /* the thread: set in src/palette.js, written here by `npm run draw` */
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-text);
  --font-ar: "Aref Ruqaa", "Geeza Pro", "Noto Naskh Arabic", serif;
  --font-ar-text: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", serif;
  --shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(21, 22, 26, .05), 0 18px 28px -22px rgba(21, 22, 26, .32);
  --shadow-up: 0 0 0 1px var(--line), 0 2px 4px rgba(21, 22, 26, .06), 0 28px 36px -24px rgba(21, 22, 26, .4);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --stitch: repeating-linear-gradient(90deg, var(--red) 0 9px, transparent 9px 15px);
  --stitch-v: repeating-linear-gradient(0deg, var(--red) 0 9px, transparent 9px 15px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.2rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-text);
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
a { color: inherit; }
p { text-wrap: pretty; }
b, strong { font-weight: 600; }
button, input, textarea, select { font-family: inherit; }
::selection { background: color-mix(in srgb, var(--red) 18%, transparent); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.defs { position: absolute; width: 0; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 41rem); margin-inline: auto; }
.wrap-sheet { width: min(100% - 1.5rem, 48rem); margin-inline: auto; }

/* ------------------------------------------------------------ small things */

.kicker { display: block; font: 600 .72rem/1.4 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; text-underline-offset: .25em; }

.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-soft); max-width: 34rem; margin: 1.2rem 0 0; }
.lead p { margin: 0 0 .7em; }
.lead a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: .2em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem;
  font: 500 1rem/1 var(--font-text); letter-spacing: .01em;
  padding: .85rem 1.5rem; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, translate .25s var(--ease);
}
.btn:hover { background: var(--red); border-color: var(--red); translate: 0 -1px; }
.btn:active { translate: 0 1px; }

/* an arrow drawn with the pen, coloured by the text around it */
.arrow, .more { text-decoration: none; }
.arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; color: var(--ink); padding-bottom: .15rem; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: color .25s; }
.arrow::after, .more::after, .arrow-back::before {
  content: ""; flex: none; display: inline-block; width: 1.5rem; height: .6rem; background: currentColor;
  -webkit-mask: url("/drawings/ok.svg") center / contain no-repeat; mask: url("/drawings/ok.svg") center / contain no-repeat;
  transition: translate .3s var(--ease);
}
.arrow:hover { color: var(--red); }
.arrow:hover::after, .more:hover::after { translate: .3rem 0; }
.arrow-back::after { content: none; }
.arrow-back::before { rotate: 180deg; }
.arrow-back:hover::before { translate: -.3rem 0; }

/* a sheet of white paper on the white page: only its edge and its shadow show */
.scrap, .sheet, .postcard, .ticket { background: var(--paper); box-shadow: var(--shadow); }
mark { color: var(--red); font-weight: 600; background: none; }
.scrap { position: relative; }

/* stitched down with the red thread */
.scrap-stitched::before, .write-strip::before, .after::before {
  content: ""; position: absolute; inset: .6rem; pointer-events: none;
  background: var(--stitch) left top / 100% 1.5px no-repeat, var(--stitch-v) right top / 1.5px 100% no-repeat,
    var(--stitch) right bottom / 100% 1.5px no-repeat, var(--stitch-v) left bottom / 1.5px 100% no-repeat;
}
.scrap-stitched::before { animation: sew-frame 3s ease-in-out .3s both; }
@keyframes sew-frame {
  0% { background-size: 0 1.5px, 1.5px 0, 0 1.5px, 1.5px 0; }
  25% { background-size: 100% 1.5px, 1.5px 0, 0 1.5px, 1.5px 0; }
  50% { background-size: 100% 1.5px, 1.5px 100%, 0 1.5px, 1.5px 0; }
  75% { background-size: 100% 1.5px, 1.5px 100%, 100% 1.5px, 1.5px 0; }
  100% { background-size: 100% 1.5px, 1.5px 100%, 100% 1.5px, 1.5px 100%; }
}

/* held with strips of tape */
.scrap-taped::before, .scrap-taped::after, .member-photo::before, .writer-photo::before {
  content: ""; position: absolute; z-index: 2; top: -.7rem; width: 5rem; height: 1.5rem;
  background: rgba(21, 22, 26, .09);
}
.scrap-taped::before { left: 1.2rem; rotate: -5deg; }
.scrap-taped::after { right: 1.2rem; rotate: 4deg; }

.notice { display: flex; gap: .7rem; align-items: baseline; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-left: 2px solid var(--red); margin: 0 0 1.4rem; max-width: 44rem; }
.notice.is-error { color: #7a1f19; }
.notice-star { color: var(--red); display: inline-flex; translate: 0 .2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.empty { color: var(--ink-soft); }
.empty a { color: var(--ink); text-decoration-color: var(--red); }

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

/* the name, the sections and the search on one line; it stays with the reader */
.head { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--ink); transition: box-shadow .3s; }
.head.is-stuck { box-shadow: 0 16px 22px -20px rgba(21, 22, 26, .45); }
.head-row { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); min-height: 5.2rem; }
.brand { display: flex; align-items: center; gap: .55rem; flex: none; text-decoration: none; }
.brand-name { display: grid; gap: .22rem; margin-top: 1.1rem; }
.brand-name b { font-size: 1.75rem; font-weight: 800; line-height: .9; letter-spacing: -.055em; }
.brand-name span { font-size: .7rem; font-weight: 500; line-height: 1.2; letter-spacing: .02em; color: var(--ink-soft); white-space: nowrap; }
.brand-text { display: none; }
.head-bar { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; flex: 1; min-width: 0; align-self: stretch; }
.head-home { display: none; color: var(--ink); }
.person-sign { display: block; flex: none; overflow: visible; }
.head-nav { display: flex; align-items: center; gap: clamp(1.15rem, 2.1vw, 1.9rem); min-width: 0; overflow-x: auto; scrollbar-width: none; }
.head-nav::-webkit-scrollbar { display: none; }
.head-nav a { position: relative; flex: none; font-size: .96rem; font-weight: 500; text-decoration: none; padding: .85rem 0; transition: color .2s; }
.head-nav a:hover, .head-nav a[aria-current] { color: var(--red); }
/* where the reader is: the dot a reed pen leaves */
.head-nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: .22rem; width: 6px; height: 6px; translate: -50% 0; rotate: 45deg; background: var(--red); }
.head-nav .head-join { color: var(--red); font-weight: 600; }

/* the search opens over the sections, a single ruled line to write on */
.search { display: flex; align-items: center; flex: none; }
.search input { flex: 1; min-width: 0; width: 11rem; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: .4rem 0; margin-right: .5rem; appearance: none; }
.search input:focus { outline: 0; border-bottom-color: var(--red); }
.search input::placeholder { color: var(--wash); }
.search input::-webkit-search-cancel-button { appearance: none; }
html.js .search:not(.is-open):not(:focus-within) input { flex: none; width: 0; margin: 0; padding-inline: 0; border: 0; opacity: 0; }
html.js .search.is-open, html.js .search:focus-within { position: absolute; inset: 0; z-index: 2; background: var(--paper); animation: appear .25s ease both; }
.search button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.6rem; height: 2.6rem; margin-right: -.7rem; color: var(--ink); background: none; border: 0; border-radius: 50%; cursor: pointer; transition: color .2s, rotate .4s var(--ease); }
.search button:hover { color: var(--red); rotate: -12deg; }

/* ------------------------------------------------------------ the front page */

/* the name spelt out */
.name-band { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.2rem); align-items: center; padding-block: clamp(1.8rem, 4.5vw, 3.2rem) clamp(1.4rem, 3.5vw, 2.6rem); }
.name-text .kicker { margin-bottom: .8rem; }
.name-open { display: flex; flex-wrap: wrap; gap: 0 .28em; font-size: clamp(2.5rem, 6.2vw, 4.5rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; margin: 0; }
.name-open b { font-weight: inherit; color: var(--red); }
.name-line { font-size: clamp(1.06rem, 1.7vw, 1.22rem); line-height: 1.55; color: var(--ink-soft); max-width: 40rem; margin: 1.2rem 0 0; }
.name-line b, .name-line em { color: var(--ink); font-style: normal; font-weight: 600; }
.name-line a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: .2em; }
.name-band .hero-actions { margin-top: 1.5rem; }
.name-art { margin: 0; }

/* the newest piece beside the list of new things; the news right under it */
.front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.2rem); align-items: start; margin-block: clamp(1.2rem, 3vw, 2rem) clamp(3.5rem, 8vw, 6.5rem); }
.front-news { margin-top: clamp(2.8rem, 6vw, 4.2rem); }
.lead-piece .video-thumb, .lead-photo { display: block; margin-bottom: 1.4rem; }
.lead-photo img { display: block; width: 100%; height: auto; }
.lead-piece .sheet-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }

.recent-row { border-bottom: 1px solid var(--line); }
.recent-row a { display: grid; grid-template-columns: 3.7rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: .95rem 0; text-decoration: none; }
.recent-row:first-child a { padding-top: 0; }
.recent-mark { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; }
.recent-mark svg { display: block; max-width: 100%; max-height: 100%; height: auto; }
.recent-mark .postmark { width: 3.7rem; }
.recent-text { display: grid; gap: .16rem; }
.recent-kind { font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--red); }
.recent-row b { font-size: 1.14rem; font-weight: 600; line-height: 1.22; letter-spacing: -.02em; transition: color .25s; }
.recent-row a:hover b { color: var(--red); }
.recent-by { font-size: .9rem; font-style: italic; line-height: 1.35; color: var(--ink-soft); }
.recent-play { position: relative; width: 2.9rem; aspect-ratio: 16 / 11; border: 1.5px solid var(--ink); }
.recent-play::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-left: .62rem solid var(--red); border-block: .4rem solid transparent; }
.recent-day { display: grid; justify-items: center; font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.recent-day b { font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; color: var(--red); }

.front-extra { display: grid; gap: 2.2rem; margin-top: 2.4rem; }
.front-side .postcard { grid-template-columns: minmax(0, 1fr); }
.front-side .postcard-text { padding: 1.5rem 6.2rem 1.3rem 1.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
.front-side .postcard-text h2 { font-size: 1.45rem; }
.front-side .postcard-text p:last-child { font-size: .95rem; line-height: 1.55; }
.front-side .postcard-form { padding: 1.3rem 1.5rem 1.5rem; }
.front-side .postcard-stamp { top: auto; bottom: 100%; translate: 0 -1.1rem; right: 1.1rem; }
.front-side .tuck { padding-top: 4.2rem; }
.front-side .is-tucked { left: auto; right: 9%; bottom: calc(100% - 8.4rem); width: 10.5rem; --tilt: 4deg; }
.front-side .write-strip { flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1.5rem 1.6rem; font-size: 1rem; }
.front-side .write-strip > span:first-child { width: 7rem; }

/* a row for each kind of thing, every row the same three columns */
.sec-events .fruit { margin-top: 1.2rem; }
.sec-head .perch { right: 26%; bottom: 0; }
.sec-writers .writer-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
.writer-you .writer-photo { display: grid; place-items: center; padding: 1.2rem; }
.writer-you .writer-photo svg { display: block; width: 100%; height: auto; rotate: -38deg; }

/* ------------------------------------------------------------ small pieces of the heads */

.hero-ar { font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.6 var(--font-ar); color: var(--red); margin: .9rem 0 0; text-align: left; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.8rem; margin: 2rem 0 0; }
.map { display: block; width: 100%; height: auto; font-family: var(--font-text); }

/* the practice sheet: the elifs are written one after the other, then measured */
.mesk { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink); }
.mesk-elif { animation: rise .6s var(--ease) both; }
.mesk-elif-1 { animation-delay: .1s; }
.mesk-elif-2 { animation-delay: .2s; }
.mesk-elif-3 { animation-delay: .3s; }
.mesk-elif-4 { animation-delay: .4s; }
.mesk-dots, .mesk-circle, .mesk-note { animation: appear .6s ease .6s both; }
.mesk-string { stroke-dasharray: 1; animation: draw 1s ease .8s both; }
.mesk-kite { animation: appear .5s ease 1.5s both; }

.rise { animation: rise .55s var(--ease) both; }
.rise-2 { animation-delay: .05s; }
.rise-3 { animation-delay: .1s; }
.rise-4 { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* the red thread sews itself from Konya to Gaza, then Gaza answers */
.road-map .map-sew { stroke-dasharray: 1; }
html.js .road-map:not(.is-in) .map-sew { stroke-dashoffset: 1; }
html.js .road-map.is-in .map-sew { animation: draw 3.4s cubic-bezier(.5, 0, .3, 1) .5s both; }
.map-ring { transform-box: fill-box; transform-origin: center; animation: ring 3.8s ease-out 4.4s infinite; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.4); opacity: 0; } }

/* ------------------------------------------------------------ ink into meaning */

.scene { display: block; width: 100%; height: auto; }
.scene-kite { aspect-ratio: 900 / 250; overflow: hidden; }

html.js .scene-kite:not(.is-in) .ink-line, html.js .scene-kite:not(.is-in) .kite-string { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .scene-kite:not(.is-in) .bow { opacity: 0; }
.scene-kite.is-in .ink-line { stroke-dasharray: 1; animation: draw 4.6s cubic-bezier(.45, 0, .3, 1) .2s both; }
.scene-kite.is-in .kite-string { stroke-dasharray: 1; animation: draw 1.3s ease 4.3s both; }
.scene-kite.is-in .bow { animation: appear .5s ease both; }
.scene-kite.is-in .bow-1 { animation-delay: 3.1s; }
.scene-kite.is-in .bow-2 { animation-delay: 3.6s; }
.scene-kite.is-in .bow-3 { animation-delay: 4.2s; }
.kite-body { animation: sway 5.5s ease-in-out infinite alternate; }
.scene-birds { animation: drift 8s ease-in-out infinite alternate; }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(3deg); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(9px, -5px); } }

.crane { animation: glide 7s ease-in-out infinite alternate; }
.boat { transform-origin: 50% 90%; animation: bob 4.5s ease-in-out infinite alternate; }
@keyframes glide { from { translate: -4px 3px; } to { translate: 6px -5px; } }
@keyframes bob { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }

/* things arrive as you reach them */
html.js .reveal { opacity: 0; translate: 0 10px; transition: opacity .45s ease, translate .45s var(--ease); }
html.js .reveal.is-in { opacity: 1; translate: 0 0; }
html.js .reveal:nth-child(2) { transition-delay: .04s; }
html.js .reveal:nth-child(3) { transition-delay: .08s; }
html.js .reveal:nth-child(n + 4) { transition-delay: .12s; }

/* ------------------------------------------------------------ sections */

.sec { margin-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); padding-bottom: .8rem; border-bottom: 1px solid var(--ink); }
.sec-head { position: relative; }
.sec-head h2 { display: inline-flex; align-items: center; gap: .65rem; font-size: clamp(1.45rem, 2.6vw, 1.7rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; text-transform: lowercase; margin: 0; }
.sec-head h2::before { content: ""; flex: none; width: .5rem; height: .5rem; rotate: 45deg; background: var(--red); }
.more { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: color .25s; }
.more:hover { color: var(--red); }
.sec-lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); max-width: 44rem; margin: -.3rem 0 2.2rem; }

/* ------------------------------------------------------------ letter paper */

.sheet { position: relative; padding: clamp(1.6rem, 4vw, 2.8rem); padding-left: clamp(2.1rem, 5.5vw, 3.8rem); }
.sheet::after { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(1rem, 2.6vw, 1.9rem); border-left: 1px solid color-mix(in srgb, var(--red) 30%, transparent); pointer-events: none; }
.sheet-marks { position: relative; float: right; width: 14.2rem; height: 7rem; margin: -.7rem -.7rem .3rem 1rem; }
.sheet-marks .stamp { position: absolute; right: 0; top: 0; }
.sheet-marks .postmark { position: absolute; right: 2.3rem; top: .2rem; width: 11.6rem; height: auto; }
.postmark { color: var(--ink); opacity: .86; mix-blend-mode: multiply; font-family: var(--font-text); }
.sheet-title { font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .4rem; }
.sheet-title a { text-decoration: none; }
.sheet-title a:hover { color: var(--red); }
.sheet-to, .read-to { font-size: 1.125rem; font-style: italic; line-height: 1.4; color: var(--ink-soft); margin: 0 0 1.3rem; }
.sheet-more { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 1.5rem; margin: 1.6rem 0 0; clear: both; }
.sig { font-size: .95rem; font-style: italic; line-height: 1.4; color: var(--ink-soft); }
.sheet-more .sig { font-size: 1.125rem; font-weight: 500; color: var(--ink); }

/* perforated stamp */
.stamp { display: inline-block; width: 72px; height: 88px; padding: 5px; background: radial-gradient(circle at 4px 4px, transparent 2.3px, #fff 2.7px) -4px -4px / 8px 8px; filter: drop-shadow(0 0 .6px rgba(21, 22, 26, .5)) drop-shadow(0 1px 1px rgba(21, 22, 26, .22)); rotate: 2.5deg; }
.stamp-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 100%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.2px var(--red), inset 0 0 0 3px #fff, inset 0 0 0 3.6px var(--red); }
.stamp-label { color: var(--red); }
.stamp-in svg { display: block; }
.stamp-name { font: italic 700 .82rem/1 var(--font-text); letter-spacing: -.02em; }
.stamp-label { font: 600 .38rem/1 var(--font-text); letter-spacing: .22em; }

/* the postmark is struck */
html.js .reveal:not(.is-in) .postmark { opacity: 0; }
html.js .reveal.is-in .postmark, .sheet-read .postmark, .postmark.is-struck { animation: strike .4s cubic-bezier(.3, 1.5, .5, 1) .2s both; }
.postmark.is-struck { animation-delay: 0s; }
@keyframes strike { from { opacity: 0; scale: 1.7; } to { opacity: .86; scale: 1; } }

/* ------------------------------------------------------------ running text */

.prose { font-size: 1.125rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.15em; }
.prose a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
.prose a:hover { color: var(--red); }
.prose h2 { font-size: 1.65rem; line-height: 1.2; margin: 1.9em 0 .5em; }
.prose h3 { font-size: 1.3rem; line-height: 1.25; margin: 1.7em 0 .45em; }
.prose blockquote { position: relative; margin: 1.6em 0; padding-left: 1.5rem; font-size: 1.2rem; font-style: italic; line-height: 1.6; color: var(--ink-2); }
.prose blockquote::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 1.5px; background: var(--stitch-v); }
.prose blockquote p { margin: 0; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red); }
.prose-letter { line-height: 1.8; }
.sheet-read .prose-letter { font-size: 1.1875rem; }
.pause { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 2.3em 0; color: var(--red); }
.pause::before, .pause::after { content: ""; width: 3.6rem; height: 1px; background: var(--line); }
.has-dropcap > p:first-of-type::first-letter { float: left; font-size: 3.9em; font-weight: 700; line-height: .82; color: var(--red); padding: .06em .1em 0 0; }

/* ------------------------------------------------------------ cards */

/* Every card is a sheet of the same build, and a row of them stands level:
   the same width, the same height, the foot of each on the same line. */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2rem); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; min-width: 0; }
.card-in { position: relative; display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 1.5rem 1.5rem 1.1rem; background: var(--paper); box-shadow: var(--shadow); text-decoration: none; transition: translate .3s var(--ease), box-shadow .3s; }
.card-in:hover { translate: 0 -3px; box-shadow: var(--shadow-up); }
.card-kicker { font: 600 .68rem/1.4 var(--font-text); letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }
.card-title { font-size: 1.35rem; line-height: 1.2; margin: 0; transition: color .2s; }
.card-in:hover .card-title { color: var(--red); }
.card-to { margin-top: .35rem; font-style: italic; line-height: 1.4; color: var(--ink-soft); }
.card-text { margin: .65rem 0 1.15rem; font-size: .98rem; line-height: 1.6; color: var(--ink-2); }
.card-title, .card-to, .card-text { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.card-title, .card-to { -webkit-line-clamp: 2; line-clamp: 2; }
.card-text { -webkit-line-clamp: 3; line-clamp: 3; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.4; color: var(--ink-soft); }
.card-foot > :first-child { font-style: italic; }
.card-foot > :nth-child(2) { flex: none; text-align: right; }

/* the mark in the corner: the postmark of a letter, the day of an event */
.card-mark { position: absolute; top: .75rem; right: .75rem; }
.card-mark .postmark { display: block; width: 4.4rem; height: auto; }
.letter-card .card-kicker, .letter-card .card-title, .event-card .card-kicker, .event-card .card-title { padding-right: 4.7rem; }
.card-day { position: absolute; top: 1.15rem; right: 1.2rem; display: grid; justify-items: center; gap: .28rem; min-width: 3.4rem; padding: .5rem .5rem .45rem; background: var(--paper); border: 1px solid var(--ink); border-top: 4px solid var(--red); line-height: 1; }
.card-day b { font-size: 1.6rem; font-weight: 700; letter-spacing: -.04em; }
.card-day span { font-size: .56rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.card-day.is-open b { width: .55rem; height: .55rem; margin: .5rem 0 .32rem; rotate: 45deg; background: var(--red); }

/* a picture across the top of the sheet */
.card-photo { position: relative; display: block; margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--line); }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.card-in:hover .card-photo img { scale: 1.03; }
.card-photo.video-thumb { aspect-ratio: 16 / 9; box-shadow: none; }
.card-in:hover .play { scale: 1.1; }

/* a poem stands in the middle of its sheet */
.poem-card .card-in { text-align: center; }
.poem-card .card-title { margin-bottom: .85rem; }
.verse { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); margin: 0 0 1.2rem; }
.is-past .card-in { opacity: .7; }

/* an empty place in a row, kept for the reader's own piece */
.blank-card { position: relative; flex-direction: column; justify-content: center; align-items: flex-start; gap: .35rem; min-height: 13rem; padding: 1.5rem; text-decoration: none; transition: translate .3s var(--ease); }
.blank-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--stitch) left top / 100% 1.5px no-repeat, var(--stitch-v) right top / 1.5px 100% no-repeat, var(--stitch) right bottom / 100% 1.5px no-repeat, var(--stitch-v) left bottom / 1.5px 100% no-repeat; }
.blank-card:hover { translate: 0 -3px; }
.blank-pen { width: 6.5rem; margin-bottom: .5rem; }
.blank-pen svg { display: block; width: 100%; height: auto; }
.blank-card b { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; transition: color .25s; }
.blank-card:hover b { color: var(--red); }
.blank-card > span:last-child { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }

.write-strip, .after { position: relative; }
/* no sheet under these two: the stitch is their edge, so it sits on the grid line */
.write-strip::before, .after::before { inset: 0; }
.reed { display: block; width: 100%; height: auto; }
.motif { display: block; max-width: 100%; height: auto; overflow: visible; color: var(--ink); }

/* two poems on one leaf, inside the ruled frame of a manuscript page: ink, then red */
.cedvel { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 5px; padding: clamp(2rem, 4.5vw, 3.2rem) 0 clamp(3.4rem, 6vw, 4.2rem); border: 1px solid var(--ink); outline: 1px solid var(--red); outline-offset: 4px; }
.cedvel.is-single { grid-template-columns: minmax(0, 1fr); }
.leaf { padding: 0 clamp(1.4rem, 4vw, 3.4rem); text-align: center; }
.leaf + .leaf { border-left: 1px solid var(--line); }
.leaf h3 { font-size: 1.6rem; line-height: 1.15; margin: 0 0 1.1rem; }
.leaf h3 a { text-decoration: none; transition: color .25s; }
.leaf h3 a:hover { color: var(--red); }
.leaf-by { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem 1.4rem; margin: 0; }
/* a tulip grows out of the rule */
.cedvel-flower { position: absolute; left: 50%; top: 100%; translate: -50% -52%; padding: 0 .9rem; background: var(--paper); line-height: 0; }

/* ------------------------------------------------------------ old works about the pages */

/* None has a caption. Each is fixed its own way and at its own angle: a wall
   where things were put up over the years, by different hands. */
.work { position: relative; width: 8.6rem; margin: 0; rotate: var(--tilt, 0deg); }
.work img { display: block; width: 100%; height: auto; }
.f-mat img { padding: .3rem; background: #fff; box-shadow: 0 0 0 1px var(--ink), 0 24px 22px -18px rgba(21, 22, 26, .5); }
.f-ink img { padding: .4rem; background: #fff; border: 3px solid var(--ink); box-shadow: 0 26px 24px -18px rgba(21, 22, 26, .55); }
.f-bare img { box-shadow: 0 0 0 1px rgba(21, 22, 26, .16), 0 20px 20px -16px rgba(21, 22, 26, .5); }

/* hung: a nail, a thread, and the slow swing of a thing that hangs */
.is-hung { --tilt: 2.4deg; --thread: 5rem; transform-origin: 50% calc(-1 * var(--thread)); animation: swing 6s ease-in-out infinite alternate; }
.is-hung:hover { animation-play-state: paused; }
.work-thread { position: absolute; left: 50%; bottom: 100%; width: 1px; height: var(--thread); background: var(--ink); }
.work-thread::before { content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; translate: -50% 0; border-radius: 50%; background: var(--ink); }
@keyframes swing { from { rotate: calc(var(--tilt) + .6deg); } to { rotate: calc(var(--tilt) - 1.8deg); } }
/* hung from a nail that is not in the middle */
.is-crooked { --tilt: -8deg; transform-origin: 20% calc(-1 * var(--thread)); }
.is-crooked .work-thread { left: 20%; rotate: 8deg; transform-origin: 50% 100%; }

/* pinned: one red pin through the top */
.is-pinned { --tilt: -2.5deg; }
.work-pin { position: absolute; left: 50%; top: -.28rem; z-index: 1; width: .62rem; height: .62rem; translate: -50% 0; border-radius: 50%; background: var(--red); box-shadow: 0 3px 3px -1px rgba(21, 22, 26, .45); }

/* leant: it stands on a rule and leans a little */
.is-leant { --tilt: -3deg; transform-origin: 0 100%; }

/* tucked: most of it is behind something else, and it comes out a little when looked at */
.tuck { position: relative; isolation: isolate; padding-top: 3.6rem; }
.tuck-side { padding-top: 0; }
.is-tucked { position: absolute; z-index: -1; left: 7%; bottom: calc(100% - 3.4rem); width: 12.5rem; --tilt: -5deg; transition: translate .9s var(--ease), rotate .9s var(--ease); }
html.js .is-tucked:not(.is-in) { translate: 0 3.2rem; }
.tuck:hover .is-tucked, .tuck:focus-within .is-tucked { translate: 0 -1.8rem; rotate: -3deg; }
.tuck-side { max-width: 44rem; }
.tuck-side .is-tucked { left: calc(100% - 4.6rem); bottom: auto; top: 4.5rem; width: 14rem; --tilt: 6deg; }
html.js .tuck-side .is-tucked:not(.is-in) { translate: -4rem 0; }
.tuck-side:hover .is-tucked, .tuck-side:focus-within .is-tucked { translate: 1.8rem 0; rotate: 4deg; }

/* a rug on its rod */
.is-rod { padding-top: 5px; }
.work-rod { position: absolute; left: -.8rem; right: -.8rem; top: 0; z-index: 1; height: 5px; border-radius: 3px; background: var(--ink); }
.work-rod::before, .work-rod::after { content: ""; position: absolute; bottom: 100%; width: 1px; height: .7rem; background: var(--ink); }
.work-rod::before { left: 1.5rem; }
.work-rod::after { right: 1.5rem; }

/* where each one is */
/* a bird made of letters has come to sit on the frame of the poems */
.perch { position: absolute; right: 23%; bottom: calc(100% + 6px); width: 6.4rem; --tilt: 2deg; transform-origin: 100% 100%; }
.fruit { width: 6.2rem; margin: 2rem 1.6rem 0 auto; --tilt: 4deg; }
/* a tall scroll, hung by itself after the last row */
.list-tail { display: flex; justify-content: flex-end; padding: 4.6rem 9% 0 0; }
.work-ucurtma { width: 2.9rem; --thread: 4.6rem; --tilt: 1.2deg; }
.lost .work { width: 9.4rem; margin: 3.6rem 0 1.6rem; --thread: 6.5rem; }
.hidden-dragon { width: min(100%, 33rem); margin: 3.2rem 0 0 1rem; --tilt: -1deg; }
.story-work { width: 100%; max-width: 6.2rem; margin-top: 2.2rem; --thread: 2.2rem; --tilt: 1.6deg; }

/* ------------------------------------------------------------ news, events, videos */

.video-thumb, .player { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.video-thumb img, .player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; transition: scale .8s var(--ease); }
.video-thumb:hover img { scale: 1.04; }
.video-blank { position: absolute; inset: 0; background: url("/drawings/yildiz.svg") center / 44px; opacity: .4; }
.play { position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(21, 22, 26, .3); transition: scale .3s var(--ease); }
.play::after { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-style: solid; border-width: .55rem 0 .55rem .9rem; border-color: transparent transparent transparent var(--red); }
.video-thumb:hover .play, .player-start:hover .play { scale: 1.1; }
.soon { position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; background: #fff; border: 1px solid var(--ink); padding: .45rem .9rem; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.player-start { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }

/* ------------------------------------------------------------ subscribe: a postcard */

.postcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.postcard-text { padding: clamp(1.6rem, 4vw, 3rem); border-right: 1px solid var(--line); }
.postcard-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .7rem; }
.postcard-text p:last-child { margin: 0; color: var(--ink-soft); max-width: 26rem; }
.postcard-form { position: relative; display: grid; align-content: end; gap: .35rem; padding: clamp(1.6rem, 4vw, 3rem); padding-top: 7.6rem; }
.postcard-stamp { position: absolute; top: 1.3rem; right: 1.5rem; }
.postcard-form .btn { justify-self: start; margin-top: 1.1rem; }
.postcard-form .notice { margin-bottom: .8rem; }

.field label, .postcard-form label, .kinds legend, dt { font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.field label small { font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field textarea, .postcard-form input[type="email"] {
  width: 100%; font: inherit; font-size: 1.125rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(21, 22, 26, .45); border-radius: 0; padding: .45rem 0; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .postcard-form input[type="email"]:focus { outline: 0; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
::placeholder { color: rgba(91, 96, 107, .75); opacity: 1; }

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

.foot { margin-top: clamp(4rem, 9vw, 7rem); }
.band { background-repeat: repeat-x; background-position: center; }
.band-islem { height: 36px; background-image: url("/drawings/islem.svg"); background-size: auto 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 2.5rem; padding-block: 3rem 2.6rem; }
.foot-brand { margin: 0; }
.foot-brand a { display: inline-block; }
.foot-about p:not(.foot-brand) { margin: .9rem 0 0; color: var(--ink-soft); max-width: 22rem; }
.foot nav { display: grid; gap: .1rem; align-content: start; justify-items: start; }
.foot nav a { text-decoration: none; padding: .22rem 0; transition: color .2s; }
.foot nav a:hover { color: var(--red); }
.foot-title { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .5rem; }
.foot-marks { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 2.5rem; padding-block: 1.7rem; border-top: 1px solid var(--line); }
.for-wann, .origin { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.for-wann > span { display: grid; gap: .15rem; }
.for-wann b { font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.for-wann span span { font-size: .8rem; letter-spacing: .02em; color: var(--ink-soft); transition: color .2s; }
.for-wann:hover span span { color: var(--red); }
.kite-sign { display: block; flex: none; overflow: visible; transition: rotate .5s var(--ease), translate .5s var(--ease); }
.kite-sign.is-wann { width: auto; object-fit: contain; }
.for-wann:hover .kite-sign { rotate: 9deg; translate: 0 -3px; }
.origin img { display: block; width: 3.3rem; height: 3.3rem; transition: rotate 1s var(--ease); }
.origin:hover img { rotate: 45deg; }
.origin span { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: color .2s; }
.origin:hover span { color: var(--red); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem; padding-block: 1.2rem 2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); }

/* ------------------------------------------------------------ list pages */

/* a page that is not a list: its name large, one drawing beside it */
.page-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; align-items: end; padding-block: clamp(2rem, 5vw, 3.6rem) clamp(1.2rem, 3vw, 2.2rem); }
.page-head h1 { font-size: clamp(2.4rem, 5.8vw, 3.8rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; margin: 0; }
.page-art { justify-self: end; max-width: 100%; margin: 0; }
.page-art svg { display: block; height: auto; }
.page-art-contact { width: 100%; max-width: 15rem; color: var(--ink); }
.page-art-about { grid-column: 1 / -1; justify-self: stretch; margin-top: .5rem; }

/* a page that lists things: its name in small letters over a rule, like the
   rows of the front page; one old work hangs from the bar above */
.list-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem clamp(1.5rem, 5vw, 4rem); align-items: end; padding-block: clamp(1.8rem, 4.5vw, 3rem) clamp(1.1rem, 2.5vw, 1.6rem); border-bottom: 1px solid var(--ink); }
.list-head .kicker { margin-bottom: .75rem; }
.list-head h1 { display: flex; align-items: center; gap: .8rem; font-size: clamp(2.3rem, 5.6vw, 3.4rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; text-transform: lowercase; margin: 0; }
.list-head h1::before { content: ""; flex: none; width: .62rem; height: .62rem; rotate: 45deg; background: var(--red); }
.list-head .lead { max-width: 40rem; margin-top: .95rem; font-size: 1.0625rem; }
.list-head .work { align-self: start; margin: 2.2rem 1.4rem 0 0; }
.list-head .is-hung { --thread: 14rem; }
.list-head .work-katip { width: 6.6rem; }
.list-head .work-ortu { width: 6rem; margin-top: .9rem; }
.list-head .work-gazze { width: 11.5rem; margin-top: .9rem; --tilt: 1.8deg; }
.list-head .work-usak { width: 5.2rem; margin-top: .5rem; }
.sec-list { margin-block: clamp(1.6rem, 3.5vw, 2.4rem) clamp(3.5rem, 8vw, 6.5rem); }
.list-more { margin-top: clamp(3rem, 7vw, 5rem); }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: clamp(2.4rem, 5vw, 3.4rem); padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.pager > .arrow { justify-self: start; }
.pager > :last-child { justify-self: end; }
.pager-nums { display: flex; align-items: center; gap: .15rem; font-variant-numeric: tabular-nums; }
.pager-nums a, .pager-nums b { position: relative; display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .4rem; font-weight: 500; text-decoration: none; color: var(--ink); transition: color .2s; }
.pager-nums a:hover { color: var(--red); }
.pager-nums b { font-weight: 700; color: var(--red); }
.pager-nums b::after { content: ""; position: absolute; left: 50%; bottom: .12rem; width: 5px; height: 5px; translate: -50% 0; rotate: 45deg; background: var(--red); }
.pager-gap { padding: 0 .2rem; }

.write-strip { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 1.8rem; text-decoration: none; font-size: 1.0625rem; transition: translate .3s var(--ease); }
.write-strip:hover { translate: 0 -3px; }
.write-strip > span:first-child { flex: none; width: 8rem; }

/* after the letters: where they came from, an old chart of the same coast beside ours */
.road-pair { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.road-routes { margin: 0; max-width: 34rem; }
.road-routes figcaption { font-size: .86rem; line-height: 1.5; color: var(--ink-soft); margin-top: .6rem; }
.road-side { display: grid; gap: 2.4rem; }
.road-side .work { justify-self: end; width: 7.4rem; margin: 4.6rem 14% 0 0; --thread: 4.6rem; }
@media (min-width: 48.01rem) and (max-width: 66rem) {
  .road-side .write-strip { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .road-side .write-strip > span:first-child { width: 7rem; }
}

/* the way the letters go */
.routes { display: block; width: 100%; height: auto; overflow: visible; }
.route-line { stroke-dasharray: 1; }
html.js .routes:not(.is-in) .route-line { stroke-dashoffset: 1; }
html.js .routes.is-in .route-line { animation: draw 2.2s cubic-bezier(.5, 0, .3, 1) .3s both; }
html.js .routes.is-in .route-line-2 { animation-delay: .55s; }
html.js .routes.is-in .route-line-3 { animation-delay: .8s; }
html.js .routes.is-in .route-line-4 { animation-delay: 1.05s; }
html.js .routes.is-in .route-line-5 { animation-delay: 1.3s; }
html.js .routes.is-in .route-line-6 { animation-delay: 1.55s; }

/* ------------------------------------------------------------ search */

.page-head-search { grid-template-columns: minmax(0, 1fr); }
.search-big { display: flex; align-items: flex-end; gap: 1rem; max-width: 40rem; margin: 2rem 0 0; }
.search-big input { flex: 1; min-width: 0; font: inherit; font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: .5rem 0; appearance: none; transition: border-color .2s, box-shadow .2s; }
.search-big input:focus { outline: 0; border-bottom-color: var(--red); }
.search-count { margin: 1.2rem 0 0; font-size: .95rem; color: var(--ink-soft); max-width: 40rem; }
.results { display: grid; max-width: 48rem; }
.result { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.result:first-child { padding-top: 0; }
.result .kicker { margin-bottom: .45rem; }
.result h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 .4rem; }
.result h2 a { text-decoration: none; transition: color .25s; }
.result h2 a:hover { color: var(--red); }
.result-text { margin: 0; line-height: 1.6; color: var(--ink-2); }

/* ------------------------------------------------------------ one piece, three languages */

.lang-switch { display: inline-flex; align-items: center; margin: 1.5rem 0 0; border-block: 1px solid var(--line); }
.lang-switch a { position: relative; padding: .55rem 1.1rem; font-size: .84rem; font-weight: 500; line-height: 1.2; letter-spacing: .04em; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.lang-switch a + a::before { content: ""; position: absolute; left: -2.5px; top: 50%; width: 5px; height: 5px; translate: 0 -50%; rotate: 45deg; background: var(--wash); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--red); font-weight: 600; }
.lang-switch [lang="ar"] { font-family: var(--font-ar-text); font-size: 1.05rem; letter-spacing: 0; }
.lang-switch a { display: inline-flex; align-items: baseline; gap: .45rem; }
.lang-switch small { font-size: .6rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--wash); }
.lang-switch a[aria-current] small { color: var(--red); }

/* the languages of a piece, the one it was written in marked; and the two laid side by side */
.tongue { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem 1.3rem; margin-top: 1.5rem; }
.tongue .lang-switch { margin: 0; }
.pair-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .2rem; font: 500 .84rem/1.2 var(--font-text); letter-spacing: .04em; color: var(--ink-soft); background: none; border: 0; cursor: pointer; transition: color .2s; }
.pair-btn:hover { color: var(--ink); }
.pair-btn[aria-pressed="true"] { color: var(--red); font-weight: 600; }
.pair-icon { position: relative; width: 1.15rem; height: .9rem; border: 1.5px solid currentColor; }
.pair-icon::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; translate: -50% 0; background: currentColor; }
.pair-btn[aria-pressed="true"] .pair-icon { background: linear-gradient(90deg, transparent 50%, currentColor 50%); }

.tongue-float { position: fixed; z-index: 55; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); margin: 0; padding: .1rem .9rem; width: max-content; max-width: calc(100% - 1.5rem); flex-wrap: nowrap; gap: .2rem .9rem; background: var(--paper); box-shadow: var(--shadow-up); translate: -50% 1.4rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, translate .4s var(--ease), visibility 0s .4s; }
.tongue-float.is-on { translate: -50% 0; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s, translate .4s var(--ease); }
.tongue-float .lang-switch { border: 0; }
.tongue-float .lang-switch a { padding-inline: .8rem; }
html:not(.js) .pair-btn { display: none; }

.read.is-paired .wrap-sheet { width: min(100% - 1.5rem, 76rem); }
.read.is-paired > .pairs { width: min(100% - 2.5rem, 70rem); margin-inline: auto; margin-bottom: 1.6rem; }
.read.is-paired .poem { width: min(100% - 2.5rem, 60rem); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4.5vw, 3.6rem); align-items: start; }
.pair > * { margin: 0; min-width: 0; animation: none; }
.pair > * > :last-child { margin-bottom: 1.15em; }
.pair > .prose-poem { width: auto; margin-inline: 0; }
.pair > .prose-poem > :last-child { margin-bottom: 1.4em; }
.pair-b { position: relative; color: var(--ink-soft); }
.pair-b::before { content: ""; position: absolute; inset-block: .35em 1.5em; inset-inline-start: calc(clamp(1.6rem, 4.5vw, 3.6rem) / -2); width: 1px; background: var(--line); }
.pair-names { margin-bottom: 1.3rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); font: 600 .68rem/1.4 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pair-names > span + span { color: var(--ink-soft); }
.pair-names .is-rtl { text-align: right; }
.pair-names [lang="ar"] { font: 500 .95rem/1.4 var(--font-ar-text); letter-spacing: 0; }

/* who wrote it */
.writer { display: grid; grid-template-columns: 8.4rem minmax(0, 1fr); gap: clamp(1.3rem, 4vw, 2.2rem); align-items: start; margin-top: clamp(2.6rem, 6vw, 3.8rem); padding-top: 2.2rem; border-top: 1px solid var(--line); }
.writer-photo { display: block; aspect-ratio: 4 / 5; padding: .42rem; rotate: -2.2deg; transition: rotate .5s var(--ease); }
.writer:hover .writer-photo, .writer-card:hover .writer-photo { rotate: 0deg; }
.writer-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.writer-photo:hover img, .writer-card:hover img { filter: none; }
.writer-photo .person-mark { display: block; width: 100%; height: 100%; padding: 12% 9% 4%; background: var(--tint); }
.writer-label { font: 600 .68rem/1.4 var(--font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: .2rem 0 .35rem; }
.writer-label [lang="ar"] { font: 500 1rem/1.4 var(--font-ar-text); letter-spacing: 0; }
.writer-name { font-size: 1.65rem; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 .6rem; }
.writer-name a { text-decoration: none; transition: color .2s; }
.writer-name a:hover { color: var(--red); }
.writer-bio { font-size: 1rem; line-height: 1.62; color: var(--ink-2); }
.writer-bio p { margin: 0 0 .6em; }
.writer-bio[lang="ar"] { font-family: var(--font-ar-text); font-size: 1.15rem; line-height: 1.9; }
.writer-more { margin: .9rem 0 0; font-size: .92rem; }
.writer-more [lang="ar"] { font-family: var(--font-ar-text); font-size: 1.05rem; }

.writer-head { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 3.8rem); align-items: end; padding-block: clamp(2.4rem, 6vw, 4.6rem) clamp(1.2rem, 3vw, 2.2rem); }
.writer-head h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.045em; margin: 0; }
.writer-head .tongue { justify-content: flex-start; }
.writer-head .lead.writer-bio { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-soft); }
.writer-head .lead.writer-bio[lang="ar"] { font-size: 1.3rem; line-height: 1.9; }
.writer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: 2.8rem 2.2rem; }
.writer-card { display: grid; text-decoration: none; }
.writer-card:nth-child(even) .writer-photo { rotate: 1.2deg; }
.writer-card b { font-size: 1.2rem; line-height: 1.2; margin-top: 1.1rem; transition: color .2s; }
.writer-card:hover b { color: var(--red); }
.writer-card > span:last-child { font-size: .86rem; color: var(--ink-soft); margin-top: .2rem; }
.read h1[lang="ar"], .result h2[lang="ar"] { font-family: var(--font-ar); font-weight: 400; line-height: 1.5; letter-spacing: 0; }
.prose[lang="ar"], .read-to[lang="ar"], .lead[lang="ar"], .result-text[lang="ar"] { font-family: var(--font-ar-text); font-size: 1.35rem; font-style: normal; line-height: 2.05; letter-spacing: 0; }
.prose-poem[lang="ar"] { font-size: 1.45rem; line-height: 2.1; }
.has-dropcap[lang="ar"] > p:first-of-type::first-letter { float: none; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; padding: 0; }
.prose[lang="ar"] blockquote { padding-left: 0; padding-right: 1.5rem; }
.prose[lang="ar"] blockquote::before { left: auto; right: 0; }
.prose[lang="ar"] ul { padding-left: 0; padding-right: 1.2rem; }

/* ------------------------------------------------------------ reading */

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

.read { padding-top: clamp(2.2rem, 6vw, 4.6rem); }
.read-head { text-align: center; margin-bottom: clamp(1.8rem, 4.5vw, 3.2rem); }
.read-head h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.04em; margin: 0; }
.read-head .lead { margin-inline: auto; }
.read-to { font-size: 1.3rem; margin: .8rem 0 0; }
.read-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.5rem; margin: 1.3rem 0 0; font-size: .86rem; color: var(--ink-soft); }
.route { color: var(--red); }
.route::before { content: ""; display: inline-block; width: 1.8rem; height: 1.5px; margin-right: .55rem; vertical-align: middle; background: repeating-linear-gradient(90deg, var(--red) 0 5px, transparent 5px 8px); }
.sheet-read { padding-block: clamp(1.8rem, 5vw, 3.4rem); animation: rise 1s var(--ease) .15s both; }
.dateline { display: grid; gap: .1rem; margin: 0 0 2rem; font-size: 1rem; font-style: italic; line-height: 1.4; color: var(--ink-2); }
.hijri { font-size: .82rem; font-style: normal; color: var(--ink-soft); }
.sheet-photo, .read-photo { margin: 0 0 1.9rem; }
.sheet-photo img, .read-photo img { display: block; width: 100%; height: auto; }
.read-photo { padding: .6rem; margin-bottom: 2.4rem; }
.signature { font-size: 1.45rem; font-style: italic; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; text-align: right; margin: 2rem 0 0; }
.endmark { display: flex; justify-content: center; margin-top: 2.4rem; color: var(--red); }
.read > .prose, .read > p { margin-block: 0 1.6rem; }
.read > .prose { margin-inline: auto; }

.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block: clamp(2.6rem, 6vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.np { display: grid; gap: .3rem; align-content: start; text-decoration: none; }
.np span { font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.np b { font-size: 1.2rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; transition: color .25s; }
.np:hover b { color: var(--red); }
.np-newer { text-align: right; }

.after { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.8rem; align-items: center; padding: 2rem 2.2rem; margin-bottom: 1rem; }
.after h2 { font-size: 1.5rem; line-height: 1.15; margin: 0 0 .45rem; }
.after p { margin: 0 0 1rem; color: var(--ink-soft); }
.after p:last-child { margin: 0; }
.scene-reader { display: block; width: 100%; height: auto; }

.poem-star { display: flex; justify-content: center; color: var(--red); margin-bottom: 1rem; }
.prose-poem { width: fit-content; max-width: 100%; margin-inline: auto; font-size: 1.25rem; line-height: 1.8; animation: rise 1.1s var(--ease) .2s both; }
.prose-poem p { margin-bottom: 1.4em; }
.poem-by { display: grid; justify-items: end; gap: .1rem; margin: 2.2rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.poem-by .signature { margin: 0; color: var(--ink); }
.poem-flower { display: flex; justify-content: center; margin-top: 2.8rem; }
.read-video .wrap-sheet { margin-bottom: 2rem; }
.player.is-soon { display: grid; place-items: center; }

.ticket { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); margin-bottom: 2.4rem; }
.ticket-date { display: grid; align-content: center; justify-items: center; gap: .3rem; padding: 1.5rem 1rem; text-align: center; border-right: 1.5px dashed rgba(21, 22, 26, .38); }
.ticket-date b { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--red); }
.ticket-date span { font-size: .68rem; font-weight: 600; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.ticket dl { display: grid; gap: .7rem; margin: 0; padding: 1.5rem 1.7rem; align-content: center; }
.ticket dd { margin: 0; font-size: 1.0625rem; }
.event-cta { margin-top: 1.6rem; }

/* ------------------------------------------------------------ about */

.about-body { margin-top: clamp(1rem, 3vw, 2rem); }
.kin { max-width: 41rem; margin-block: clamp(2.5rem, 6vw, 4rem); border-block: 1px solid var(--ink); }
.kin-card { display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 2.2rem); padding-block: 1.5rem; }
.kin-card + .kin-card { border-top: 1px solid var(--line); }
.kin-mark { flex: none; display: flex; justify-content: center; width: 5rem; color: var(--ink); }
.kin-mark img { display: block; width: auto; height: 4.4rem; }
.kin-card p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }
.kin-card b { display: block; font-size: 1.2rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin-bottom: .2rem; }
.kin-card p a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: .22em; }
.kin-card p a:hover { color: var(--red); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 2.8rem 2.4rem; }
.member-photo { aspect-ratio: 4 / 5; padding: .5rem; transition: rotate .4s var(--ease); }
.member:nth-child(3n + 1) .member-photo { rotate: -1.2deg; }
.member:nth-child(3n + 2) .member-photo { rotate: .8deg; }
.member:nth-child(3n) .member-photo { rotate: -.4deg; }
.member:hover .member-photo { rotate: 0deg; }
.member-photo::before { left: 50%; translate: -50% 0; rotate: -2deg; width: 4.4rem; }
.writer-photo { position: relative; }
.writer-photo::before { left: 50%; translate: -50% 0; rotate: 3deg; width: 3.2rem; height: 1.1rem; top: -.5rem; }
.member-photo img, .portrait-blank { display: block; width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.4rem; line-height: 1.15; margin: 1.2rem 0 .2rem; }
.member-role { font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--red); margin: 0 0 .6rem; }
.member-bio { font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.member-bio p { margin: 0 0 .6em; }

.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem 3.5rem; }
.story { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.story.is-wide { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; align-items: center; }
.story-art { display: flex; align-items: center; justify-content: center; min-height: 6rem; }
.story-art svg { display: block; max-width: 100%; height: auto; }
.story-map { width: 100%; padding: .9rem; background: var(--paper); box-shadow: var(--shadow); rotate: -.6deg; }
.story-red { color: var(--red); display: flex; }
/* the thread, dyed with madder */
.story-thread { position: relative; display: block; width: 7.5rem; height: 4.4rem; margin-top: 1.2rem; }
.story-thread, .story-thread::before { border-top: 2px dashed var(--red); border-radius: 50%; rotate: -8deg; }
.story-thread::before { content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 100%; rotate: 0deg; border-top-style: solid; border-top-width: 1px; }
.story-border { display: block; width: 100%; height: 36px; background: url("/drawings/islem.svg") center / auto 36px repeat-x; }
.story-elif { color: var(--ink); }
.story-flowers { display: flex; align-items: flex-end; gap: .3rem; }
.story-text a { text-decoration-color: var(--red); text-underline-offset: .2em; }
.works-note { max-width: 46rem; margin: 3rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.6; color: var(--ink-soft); }
.works-note a { color: inherit; text-decoration-color: var(--red); text-underline-offset: .2em; }
.works-note a:hover { color: var(--red); }
.story-mark .postmark { display: block; width: 6.4rem; height: auto; }
.story-logo { display: block; width: 100%; }
.story h3 { font-size: 1.4rem; line-height: 1.15; margin: 0 0 .45rem; }
.story-text p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }

/* ------------------------------------------------------------ join */

.ways { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-block: .5rem clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--ink); }
.way { position: relative; display: grid; grid-template-rows: auto 5.4rem auto 1fr auto; gap: .5rem; padding: 1.3rem 1.2rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .4s; }
.way:last-child { border-right: 0; }
.way:hover { background: var(--tint); }
.way-no { font-size: .8rem; font-weight: 700; line-height: 1; color: var(--red); }
.way-art { display: flex; align-items: center; justify-content: center; }
.way-art svg { display: block; width: auto; height: auto; max-width: 100%; max-height: 5.2rem; }
.way-art .olive, .way-art .reed, .way-art .scene { width: 100%; }
.way-art .scene-reader { width: auto; height: 5.2rem; }
.way-title { font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.way-text { font-size: .94rem; line-height: 1.55; color: var(--ink-soft); }
.way .arrow { justify-self: start; margin-top: .4rem; font-size: .9rem; background: none; }

.way-letters { display: inline-flex; align-items: baseline; gap: .55rem; font-size: 2.7rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.way-letters [lang="ar"] { font: 400 3rem/1 var(--font-ar); color: var(--red); }
/* the painting hangs from the bar above */
.page-head-hung { align-items: start; }
.page-head-hung .work { justify-self: end; width: 10.5rem; margin: 3.6rem 2rem 0 0; --thread: 15rem; }
.road { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.road-map { margin: 0; padding: 1.35rem 1.35rem .95rem; rotate: -.5deg; }
.road-map figcaption { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); text-align: center; margin: .75rem auto 0; max-width: 30rem; }

.sheet-write { max-width: 52rem; }
.sheet-contact { max-width: 44rem; }
.kinds { display: flex; flex-wrap: wrap; gap: .6rem; border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.kinds legend { padding: 0; margin-bottom: .7rem; }
.kinds label { position: relative; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kinds span { display: inline-block; padding: .5rem 1.05rem; border: 1px solid rgba(21, 22, 26, .4); border-radius: 999px; font-size: .95rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.kinds label:hover span { border-color: var(--ink); }
.kinds input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.kinds input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.field { display: grid; gap: .15rem; margin: 0 0 1.4rem; }
.field-to input { font-size: 1.4rem; font-style: italic; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
/* ruled paper under the handwriting */
.field-body textarea { display: block; min-height: 21rem; padding: 0; border-bottom: 0; line-height: 2.1rem; resize: vertical; background: linear-gradient(transparent calc(2.1rem - 1px), rgba(21, 22, 26, .16) calc(2.1rem - 1px)) 0 0 / 100% 2.1rem local; }
.field-body textarea:focus { box-shadow: none; }
.sheet-contact .field-body textarea { min-height: 14.7rem; }
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.8rem; }
.sheet-contact .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.distance { min-height: 1.7rem; margin: 0 0 1.2rem; font-size: .95rem; font-weight: 500; color: var(--red); }
.sheet-send { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 0; }
.fine { font-size: .84rem; line-height: 1.5; color: var(--ink-soft); max-width: 30rem; }
[data-live-mark] { display: contents; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.steps li { counter-increment: step; position: relative; display: grid; gap: .1rem; padding-left: 2.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--red); }
/* the thread runs from one step to the next */
.steps li:not(:last-child)::after { content: ""; position: absolute; left: .45rem; top: 2rem; bottom: -1.1rem; width: 1.5px; background: var(--stitch-v); }
.steps b { font-size: 1.15rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.steps span { font-size: .94rem; line-height: 1.55; color: var(--ink-soft); }

.lost { padding-block: clamp(4rem, 12vw, 8rem); text-align: center; display: grid; justify-items: center; gap: .6rem; }
.lost h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; margin: 1rem 0 0; }
.lost p:last-child { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.6rem; margin-top: 1.2rem; }
.lost pre { text-align: left; font-size: .8rem; overflow: auto; max-width: 100%; }

/* ------------------------------------------------------------ the wordmark */

.logo { display: block; height: auto; overflow: visible; }
.brand-logo { flex: none; width: 5.2rem; margin-block: .2rem; }
.foot-logo { flex: none; width: 6rem; }
.foot-brand .brand { display: inline-flex; }
.logo-kite-body { transform-box: fill-box; transform-origin: 30% 70%; animation: sway 5s ease-in-out infinite alternate; }
.story-logo .logo { width: 100%; }

/* one page gives way to the next without a flash */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }
.head { view-transition-name: head; }

/* ------------------------------------------------------------ smaller screens */

@media (max-width: 66rem) {
  .tuck-side { max-width: none; }
  .tuck-side .is-tucked { left: auto; right: 9%; top: auto; bottom: calc(100% - 4rem); width: 10.5rem; --tilt: 4deg; }
  html.js .tuck-side .is-tucked:not(.is-in) { translate: 0 3rem; }
  .tuck-side:hover .is-tucked, .tuck-side:focus-within .is-tucked { translate: 0 -1.6rem; rotate: 2.5deg; }
}

@media (max-width: 62rem) {
  .name-band { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .front { display: flex; flex-direction: column; align-items: stretch; gap: clamp(2.6rem, 7vw, 3.6rem); }
  .recent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.6rem, 4vw, 2.8rem); }
  .recent-row:nth-child(2) a { padding-top: 0; }
  .front-main, .front-side { display: contents; }
  .front-lead { order: 1; }
  .front-recent { order: 2; }
  .front-news { order: 3; margin-top: 0; }
  .front-extra { order: 4; margin-top: 0; }
  .front-side .postcard-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
  .front-side .write-strip { flex-direction: row; align-items: center; gap: 1.5rem; }
  /* the name scrolls away; the sections and the search stay, the kite standing for the name */
  html { scroll-padding-top: 4.2rem; }
  .head { top: -4.75rem; }
  .head-row { display: block; min-height: 0; }
  .brand { height: 4.75rem; }
  .brand-logo { width: 4.5rem; margin-block: 0; }
  .brand-text { display: block; margin-left: auto; font: 400 1.25rem/1.2 var(--font-ar); color: var(--red); }
  .head-bar { justify-content: flex-start; gap: 0; min-height: 3rem; border-top: 1px solid var(--line); }
  .head-home { display: inline-flex; flex: none; width: 0; opacity: 0; overflow: hidden; transition: width .35s var(--ease), opacity .3s, margin .35s var(--ease); }
  .head.is-compact .head-home { width: 23px; margin-right: .9rem; opacity: 1; overflow: visible; }
  .head-nav { flex: 1; gap: 1.45rem; padding-right: 1.6rem; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); }
  .search input { font-size: 1rem; }

  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .way:nth-child(3n) { border-right: 0; }
  .road { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
  .steps li:not(:last-child)::after { content: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .stories { grid-template-columns: minmax(0, 1fr); }
  .story.is-wide { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 56rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .name-band { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .name-art { max-width: 17rem; }
  .front-lead .sheet-featured .prose > :nth-child(n + 4) { display: none; }
  .recent { grid-template-columns: minmax(0, 1fr); }
  .recent-row:nth-child(2) a { padding-top: .95rem; }
  .sec-head .perch { right: 34%; width: 4.6rem; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pair-names { display: none; }
  .pair > .pair-a > :last-child { margin-bottom: .55em; }
  .pair-b { padding-inline-start: .95rem; font-size: .9em; }
  .pair-b::before { inset-inline-start: 0; inset-block: .4em 1.6em; width: 1.5px; background: var(--stitch-v); }
  .pair-b[lang="ar"] { font-size: 1.1rem; }
  .writer-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .writer-head .writer-photo { width: 9.5rem; }
  .cedvel { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
  .leaf + .leaf { border-left: 0; padding-top: 2.4rem; position: relative; }
  .leaf + .leaf::before { content: ""; position: absolute; left: 50%; top: 0; width: 3.6rem; height: 1px; translate: -50% 0; background: var(--line); }
  .postcard { grid-template-columns: minmax(0, 1fr); }
  .postcard-text { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 6.5rem; }
  .postcard-form { padding-top: clamp(1.6rem, 4vw, 3rem); }
  .postcard-stamp { top: auto; bottom: 100%; translate: 0 -1.2rem; right: 1.1rem; }
  .page-head { grid-template-columns: minmax(0, 1fr); }
  .page-art { justify-self: start; max-width: 13rem; }
  .page-art-about { max-width: none; }
  .list-head { gap: 1rem; }
  .list-head .work { margin: 1.6rem .4rem 0 0; }
  .list-head .work-katip { width: 4.6rem; }
  .list-head .work-ortu { width: 4.2rem; margin-top: .6rem; }
  .list-head .work-gazze { width: 6.4rem; margin-top: .6rem; }
  .list-head .work-usak { width: 3.8rem; margin-top: .4rem; }
  .road-pair { grid-template-columns: minmax(0, 1fr); }
  .road-side .work { margin-top: 4rem; }
  .page-head-hung { grid-template-columns: minmax(0, 1fr) auto; }
  .page-head-hung > div { grid-column: 1 / -1; grid-row: 1; padding-right: 7.4rem; }
  .page-head-hung .work { grid-column: 2; grid-row: 1; width: 6.2rem; margin: 2.6rem .3rem 0 0; }
  .perch { right: 38%; width: 4.8rem; }
  .is-tucked { width: 9.6rem; bottom: calc(100% - 2.8rem); }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .way:nth-child(n) { border-right: 1px solid var(--line); }
  .way:nth-child(2n), .way:last-child { border-right: 0; }
  .field-row, .sheet-contact .field-row { grid-template-columns: minmax(0, 1fr); }
  .distance:empty { min-height: 0; margin: 0; }
  .sheet-send { margin-top: .4rem; }
  .scene-kite { aspect-ratio: auto; height: 12rem; }
  .foot-marks { justify-content: flex-start; }
}

@media (max-width: 36rem) {
  .cards, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .blank-card { min-height: 10rem; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-nums { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
}

@media (max-width: 34rem) {
  .writer { grid-template-columns: 5.4rem minmax(0, 1fr); }
  .writer-name { font-size: 1.4rem; }
  .tongue-float { padding-inline: .4rem; gap: .1rem .5rem; }
  .tongue-float .lang-switch a { padding-inline: .6rem; }
  .tongue-float .pair-btn [data-pair-text] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tongue-float .pair-btn { padding-inline: .5rem; }
  .wrap, .wrap-narrow { width: min(100% - 2.2rem, 72rem); }
  .wrap-sheet { width: min(100% - 1.1rem, 48rem); }
  .lead { font-size: 1.125rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .road-map { padding: .9rem .9rem .7rem; rotate: 0deg; }
  .road-map.scrap-stitched::before { inset: .4rem; }
  .sheet-marks { float: none; width: 11.4rem; height: 5.6rem; margin: -.5rem -.3rem .7rem auto; }
  .sheet-marks .stamp { scale: .8; transform-origin: right top; }
  .sheet-marks .postmark { width: 9.3rem; right: 1.8rem; }
  .sheet-read .prose-letter { font-size: 1.125rem; }
  .prose-poem { font-size: 1.125rem; }
  .prose[lang="ar"], .read-to[lang="ar"] { font-size: 1.25rem; }
  .sec-head { flex-wrap: wrap; }
  .hidden-dragon { margin-left: 0; }
  .search-big { flex-wrap: wrap; }
  .search-big input { flex: 1 1 100%; }
  .lang-switch a { padding-inline: .85rem; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way { grid-template-rows: auto; grid-template-columns: 4.6rem minmax(0, 1fr); column-gap: 1.1rem; row-gap: .25rem; padding-inline: 0; }
  .way:nth-child(n) { border-right: 0; }
  .way-no { grid-column: 2; }
  .way-art { grid-column: 1; grid-row: 1 / span 4; align-self: center; }
  .way-title, .way-text, .way .arrow { grid-column: 2; }
  .way-letters { font-size: 2rem; }
  .way-letters [lang="ar"] { font-size: 2.3rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { gap: 2.2rem 1.5rem; padding-block: 2.6rem 2.2rem; }
  .foot-legal { justify-content: center; text-align: center; }
  .story { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.1rem; }
  .story.is-wide { grid-template-columns: minmax(0, 1fr); }
  .after { grid-template-columns: minmax(0, 1fr); padding: 1.8rem; }
  .after-art { width: 5rem; }
  .ticket { grid-template-columns: 6.4rem minmax(0, 1fr); }
  .ticket dl { padding: 1.2rem; }
  .next-prev { grid-template-columns: minmax(0, 1fr); }
  .np-newer { text-align: left; }
  .write-strip { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .kin-card { align-items: flex-start; }
  .kin-mark { width: 3.6rem; }
  .kin-mark img { height: 3.4rem; }
  .team-grid { gap: 2.2rem; }
  .member { display: grid; grid-template-columns: 6.8rem minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 1.25rem; align-items: start; }
  .member-photo { grid-column: 1; grid-row: 1 / span 3; padding: .3rem; }
  .member-photo::before { width: 2.6rem; height: .9rem; top: -.45rem; }
  .member h3, .member-role, .member-bio { grid-column: 2; }
  .member h3 { font-size: 1.25rem; margin-top: .15rem; }
  .member-bio { font-size: .96rem; line-height: 1.55; }
  .has-dropcap > p:first-of-type::first-letter { font-size: 3.5em; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; translate: 0 0; }
  html.js .reveal .postmark { opacity: .86 !important; }
  html.js .scene-kite .ink-line, html.js .scene-kite .kite-string { stroke-dashoffset: 0 !important; }
  html.js .scene-kite .bow { opacity: 1 !important; }
  html.js .routes .route-line, html.js .road-map .map-sew { stroke-dashoffset: 0 !important; }
}

@media print {
  .tongue-float, .pair-btn { display: none !important; }
  .head, .foot, .progress, .next-prev, .after, .postcard, .lang-switch, .work { display: none !important; }
  .sheet, .scrap { box-shadow: none; }
  html.js .reveal { opacity: 1; translate: 0 0; }
}
