/* mjc — style.css
   Plain white, centered, Garamond. Quiet page, loud projects. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/eb-garamond-latin-800-normal.woff2") format("woff2"); }

/* one typeface family per project, self-hosted (all open-licensed, see assets/fonts/FONTS.txt) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Shrikhand"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/shrikhand-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/fredoka-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/unbounded-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/unbounded-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/space-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Syncopate"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/syncopate-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Syncopate"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/syncopate-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rubik Distressed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/rubik-distressed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Special Elite"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/special-elite-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Limelight"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/limelight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/karla-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #fff; --fg: #111; --muted: #6b6862; --line: #e3e0d9;
  --serif: "EB Garamond", Garamond, "Cormorant Garamond", "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --pad: clamp(20px, 4vw, 48px); --max: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.3rem/1.5 var(--serif); text-align: center; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #1a56ff; outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--fg); color: var(--bg); padding: .7rem 1rem; }
.skip:focus { left: 0; }
.label { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }

/* ---------- Nav (inner pages + home mini nav) ---------- */
.site-header { padding: 18px var(--pad) 8px; }
.brand { display: inline-block; font-size: clamp(3rem, 8vw, 4.4rem); line-height: 1; letter-spacing: -.03em; text-decoration: none; padding: .05em .25em; }
nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 20px; list-style: none; margin: 4px 0 0; padding: 0; }
nav a { display: inline-block; padding: .4rem .5rem; font-style: italic; font-size: 1.15rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { background: var(--fg); color: var(--bg); }

/* ---------- Buttons / links ---------- */
.btn { display: inline-block; padding: .7rem 1.7rem; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); border-radius: 999px; font-size: 1.2rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--bg); color: var(--fg); font-style: italic; }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.textlink { text-underline-offset: .22em; }
.textlink:hover { background: var(--fg); color: var(--bg); text-decoration: none; }

/* ---------- Home hero ---------- */
.hero { padding: 14px var(--pad) clamp(10px, 2vw, 24px); }
.title { display: flex; justify-content: center; margin: clamp(.4rem, 2vw, 1.4rem) 0 0; font-weight: 400; font-size: clamp(11rem, 44vw, 31rem); line-height: .8; letter-spacing: -.05em; padding-bottom: .24em; }
.title .ltr { display: inline-block; transition: transform .35s cubic-bezier(.2, .8, .3, 1); will-change: transform; cursor: default; }
.tag { max-width: 38rem; margin: 0 auto; }
.tag .a { margin: 0 0 .5em; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; }
.tag .a em { font-style: italic; }
.tag .b { margin: 0; color: var(--muted); }
.cue { margin: 18px 0 0; font-size: 1.6rem; color: var(--muted); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- The web (interactive map) ---------- */
.web { position: relative; width: min(var(--max), 100%); margin: clamp(24px, 4vw, 48px) auto 0; padding: 0 var(--pad) clamp(40px, 6vw, 72px); }
.web-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.edge { fill: none; stroke: #bdb8ad; stroke-width: 1.3; transition: stroke .25s, stroke-width .25s, opacity .25s; }
.edge.cross { stroke-dasharray: 3 7; stroke-linecap: round; }
.edge.on { stroke: var(--fg); stroke-width: 2.2; }
.web.has-focus .edge:not(.on) { opacity: .2; }
.root-dot { display: block; width: 16px; height: 16px; margin: 0 auto 26px; border: 1.5px solid var(--fg); border-radius: 50%; background: var(--bg); position: relative; z-index: 1; }
.web-cols { display: grid; gap: 40px 24px; position: relative; z-index: 1; }
.col { display: grid; align-content: start; justify-items: center; gap: 0; }
.n { transition: opacity .3s; }
.web.has-focus .n:not(.on) { opacity: .28; }

.hubw { background: var(--bg); padding: 4px 8px 0; }
.hub { display: inline-block; font-style: italic; font-size: 1.7rem; line-height: 1; padding: .5em 1.3em .55em; border: 1.5px solid var(--fg); border-radius: 999px; background: var(--bg); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.hub:hover, .hub[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.hub.strong { border-width: 2.5px; }
.cap { margin: .55em auto 0; max-width: 15rem; font-size: 1rem; line-height: 1.3; color: var(--muted); }

/* ---------- Island themes ---------- */
.t-emp { --i-fg: #1f1b16; --i-muted: #6b6355; --i-line: rgba(31, 27, 22, .22); --i-panel: rgba(255, 255, 255, .55); --i-inv: #e9e2d4; --i-weight: 400; color: #1f1b16;
  background: radial-gradient(900px 420px at 88% -8%, rgba(255, 255, 255, .95), transparent 60%), repeating-linear-gradient(115deg, transparent 0 38px, rgba(90, 80, 60, .07) 38px 39px, transparent 39px 91px), repeating-linear-gradient(62deg, transparent 0 57px, rgba(90, 80, 60, .06) 57px 58px, transparent 58px 133px), #e9e2d4;
  border: 1px solid rgba(31, 27, 22, .18); box-shadow: 0 46px 50px -38px rgba(31, 27, 22, .6); }
.t-mango { --i-fg: #2a0a1a; --i-muted: #3d1226; --i-line: rgba(42, 10, 26, .4); --i-panel: #ffe29a; --i-inv: #ff9f1c; --i-weight: 800; color: #2a0a1a;
  background: radial-gradient(circle at 0% 24%, #ffd23f 0 56px, transparent 57px), radial-gradient(circle at 100% 4%, #ff2e7e 0 64px, transparent 65px), radial-gradient(circle at 100% 80%, #1fa97a 0 70px, transparent 71px), #ff9f1c;
  border: 3px solid #2a0a1a; box-shadow: 12px 12px 0 #2a0a1a; }
.t-vr { --i-fg: #e8eaff; --i-muted: #a3a9d8; --i-line: rgba(125, 249, 255, .28); --i-panel: rgba(125, 249, 255, .06); --i-inv: #070716; --i-weight: 400; color: #e8eaff;
  background: radial-gradient(60% 38% at 14% 0%, rgba(125, 90, 255, .6), transparent 70%), radial-gradient(50% 32% at 100% 32%, rgba(125, 249, 255, .26), transparent 70%), radial-gradient(60% 36% at 50% 100%, rgba(255, 90, 200, .24), transparent 70%), #070716;
  border: 1px solid rgba(125, 249, 255, .35); box-shadow: 0 0 0 6px rgba(125, 90, 255, .08), 0 50px 90px -30px rgba(100, 70, 255, .65); }
.t-dirt { --i-fg: #f2ead6; --i-muted: #c9c0a0; --i-line: rgba(242, 234, 214, .3); --i-panel: rgba(0, 0, 0, .2); --i-inv: #1a2c21; --i-weight: 400; color: #f2ead6;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 0 2px, transparent 3px) 0 0 / 34px 34px, radial-gradient(circle, rgba(0, 0, 0, .22) 0 2px, transparent 3px) 13px 17px / 27px 27px, linear-gradient(#27422f, #1a2c21);
  border: 1px solid #0f1b14; box-shadow: 0 34px 44px -30px rgba(15, 27, 20, .85); }
.t-arch { --i-fg: #111; --i-muted: #555; --i-line: #111; --i-panel: #f3f3f3; --i-inv: #fff; --i-weight: 400; color: #111;
  background: linear-gradient(rgba(0, 0, 0, .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(0, 0, 0, .07) 1px, transparent 1px) 0 0 / 24px 24px, #fff;
  border: 2px solid #111; box-shadow: 0 0 0 5px #fff, 0 0 0 6.5px #111; }
.t-paper { --i-fg: #1a1a1a; --i-muted: #6b665c; --i-line: rgba(26, 26, 26, .2); --i-panel: rgba(255, 255, 255, .6); --i-inv: #f4efe4; --i-weight: 400; color: #1a1a1a;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .02) 0 2px, transparent 2px 4px), #f4efe4; border: 1px solid rgba(26, 26, 26, .15); box-shadow: 0 34px 50px -34px rgba(0, 0, 0, .4); }

/* ---------- Project cards (map nodes and the Work list) ---------- */
.card { display: block; position: relative; overflow: hidden; text-decoration: none; width: 100%; max-width: 270px; margin-top: 34px; color: var(--i-fg); transition: scale .35s ease; }
.card:hover, .card:focus-visible { scale: 1.045; }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: rgba(0, 0, 0, .1); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card .cbody { padding: 14px 18px 20px; }
.card .k { margin: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--i-muted); }
.card h3 { margin: .25em 0 .2em; font-weight: var(--i-weight); font-size: 1.9rem; line-height: 1; letter-spacing: -.01em; }
.card .c { margin: 0; font-size: 1.02rem; line-height: 1.3; color: var(--i-muted); }
.card.t-emp { border-radius: 999px 999px 16px 16px; }
.card.t-emp .thumb { aspect-ratio: 1 / 1; }
.card.t-mango { border-radius: 30px 80px 30px 80px; rotate: -2deg; }
.card.t-mango .thumb { margin: 14px 14px 0; border: 3px solid #2a0a1a; border-radius: 18px; background: #ffd23f; }
.card.t-vr { border-radius: 38px; }
.card.t-vr .thumb { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.card.t-vr .cbody { margin-top: -22px; position: relative; }
.card.t-dirt { border-radius: 70px 22px 70px 22px; }
.card.t-arch { border-radius: 0; }
.card.t-arch .cbody { padding-top: 22px; }
.card.t-paper { border-radius: 20px 64px 20px 20px; }
.card.t-paper .thumb { margin: 12px 12px 0; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .5); border: 6px solid #fff; border-bottom-width: 14px; }

.web .card { animation: drift 7.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* map layout */
@media (min-width: 860px) {
  .web-cols { grid-template-columns: repeat(4, 1fr); }
  .col:nth-child(2) { margin-top: 44px; }
  .col:nth-child(3) { margin-top: 6px; }
  .col:nth-child(4) { margin-top: 72px; }
  .col .card + .card { margin-top: 56px; }
}
@media (max-width: 859px) {
  .web-svg { display: none; }
  .web::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
  .web-cols { gap: 36px; }
  .card { max-width: 300px; }
  .col .card + .card { margin-top: 40px; }
}

/* ---------- Home: say hello ---------- */
.hello { padding: clamp(40px, 7vw, 88px) var(--pad) clamp(48px, 8vw, 104px); border-top: 1px solid var(--line); }
.hello p { margin: 0 0 1.1em; }
.hello .h { font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -.01em; max-width: 24em; margin-inline: auto; }
.hello .email { font-size: 1.3rem; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(28px, 6vw, 72px) var(--pad) clamp(24px, 4vw, 40px); max-width: 46rem; margin: 0 auto; display: grid; gap: 14px; justify-items: center; }
.page-head h1 { margin: 0; font-weight: 400; font-size: clamp(3rem, 9vw, 6rem); line-height: .95; letter-spacing: -.03em; }
.page-head .intro { margin: 0; color: var(--muted); font-size: 1.4rem; }

/* ---------- Work: everything ---------- */
.list { display: grid; gap: 56px 28px; justify-items: center; padding-bottom: clamp(40px, 7vw, 88px); }
.list .card { max-width: 300px; margin-top: 0; }
@media (min-width: 700px) { .list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .list { grid-template-columns: repeat(3, 1fr); } .list > :nth-child(3n+2) { margin-top: 48px; } }

/* ---------- Case-study island ---------- */
.island { position: relative; overflow: hidden; color: var(--i-fg); padding: clamp(22px, 5vw, 72px); margin-top: 8px; }
.island .label { color: var(--i-muted); }
.island.t-emp { border-radius: clamp(110px, 24vw, 300px) clamp(110px, 24vw, 300px) 24px 24px; padding-top: clamp(84px, 14vw, 200px); }
.island.t-mango { border-radius: 40px 120px 40px 120px; }
.island.t-vr { border-radius: clamp(32px, 5vw, 64px); }
.island.t-dirt { border-radius: clamp(60px, 10vw, 150px) 30px clamp(60px, 10vw, 150px) 30px; }
.island.t-arch { border-radius: 0; }
.island.t-paper { border-radius: 28px 100px 28px 28px; }
.isl-head { display: grid; gap: 14px; justify-items: center; margin-bottom: 26px; }
.isl-head h1 { font-weight: var(--i-weight); font-size: clamp(3.4rem, 12vw, 8.4rem); line-height: .9; letter-spacing: -.03em; margin: .05em 0 0; overflow-wrap: anywhere; }
.t-vr .isl-head h1 { font-style: italic; font-weight: 400; }
.island .tagline { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.25; max-width: 38rem; color: var(--i-muted); }
.back { display: inline-block; margin: clamp(10px, 2vw, 22px) 0 14px; padding: .35rem .6rem; text-decoration: none; font-style: italic; }
.back:hover { background: var(--fg); color: var(--bg); }

.meta { margin: 6px auto 0; border-top: 1px solid var(--i-line); max-width: 46rem; }
.meta > div { padding: 12px 0; border-bottom: 1px solid var(--i-line); }
.meta dt { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--i-muted); }
.meta dd { margin: .1em 0 0; }

.shots { display: grid; gap: 24px; margin-block: 34px; align-items: start; justify-items: center; }
@media (min-width: 900px) { .shots.cols-2 { grid-template-columns: repeat(2, 1fr); } .shots.cols-3 { grid-template-columns: repeat(3, 1fr); } .shots.cols-4 { grid-template-columns: repeat(2, 1fr); } }
.shot { margin: 0; width: 100%; }
.shot img { width: 100%; border: 1px solid var(--i-line); background: var(--i-panel); }
.shot figcaption { padding-top: 10px; font-style: italic; font-size: 1.02rem; color: var(--i-muted); }
.t-emp .shot img { padding: 10px; background: #fff; box-shadow: 0 22px 30px -22px rgba(0, 0, 0, .5); }
.t-mango .shot img { border: 3px solid #2a0a1a; border-radius: 22px; box-shadow: 7px 7px 0 #2a0a1a; background: #fff; }
.t-mango .shot:nth-child(odd) { rotate: -1deg; }
.t-mango .shot:nth-child(even) { rotate: .8deg; }
.t-vr .shot img { border-radius: 22px; border: 1px solid rgba(125, 249, 255, .4); box-shadow: 0 0 44px -8px rgba(125, 90, 255, .65); }
.t-dirt .shot img { border-radius: 26px 10px 26px 10px; border: 2px solid rgba(242, 234, 214, .4); }

.diagram { margin: 30px auto; max-width: 46rem; border: 1px solid var(--i-line); background: var(--i-panel); padding: 18px 20px 22px; }
.diagram .label { margin-bottom: 12px; }
.diagram .scroll { overflow-x: auto; text-align: left; display: flex; justify-content: center; }
.diagram pre { margin: 0; font: 400 .74rem/1.35 var(--mono); color: var(--i-fg); white-space: pre; text-align: left; }
.t-mango .diagram { border: 3px solid #2a0a1a; border-radius: 20px; background: #fff3cf; }
.t-vr .diagram, .t-dirt .diagram { border-radius: 20px; }
@media (min-width: 700px) { .diagram pre { font-size: .875rem; } }

.rows { max-width: 44rem; margin: 0 auto; border-top: 1px solid var(--i-line); }
.row { padding: 28px 0 30px; border-bottom: 1px solid var(--i-line); }
.row h2 { margin: 0 0 .5em; font: 400 .85rem/1.4 var(--serif); letter-spacing: .18em; text-transform: uppercase; color: var(--i-muted); }
.row .txt { font-size: 1.32rem; line-height: 1.5; }
.row .txt p { margin: 0 0 .9em; }
.row .txt > :last-child { margin-bottom: 0; }
.row .txt ul, .row .txt ol { margin: 0; padding: 0; list-style: none; }
.row .txt li { margin-bottom: .35em; }
.row .txt ol { counter-reset: r; }
.row .txt ol li { counter-increment: r; }
.row .txt ol li::before { content: counter(r) ". "; opacity: .6; }
.row .txt a { text-underline-offset: .22em; }
.row .txt a:hover { background: var(--i-fg); color: var(--i-inv); text-decoration: none; }

.next { margin-top: clamp(36px, 6vw, 64px); }
.next-link { display: grid; gap: 4px; justify-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.next-title { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.next-link:hover { background: var(--fg); color: var(--bg); font-style: italic; }
.next-link:hover .label { color: #bbb; }

/* ---------- Art ---------- */
.art { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; margin: 30px 0 0; padding: 0; }
.art li { background: #fff; padding: 8px 8px 12px; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .45); }
.art li:nth-child(odd) { rotate: -1.2deg; }
.art li:nth-child(even) { rotate: 1deg; }
.art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #ddd; }
@media (min-width: 700px) { .art { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
@media (min-width: 1000px) { .art { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Plain pages (about, ads & production, contact) ---------- */
.prose { max-width: 40rem; margin: 0 auto; padding: 0 var(--pad) clamp(40px, 7vw, 88px); }
.prose section { padding: clamp(24px, 4vw, 40px) 0; border-top: 1px solid var(--line); }
.prose h2 { margin: 0 0 .5em; font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose .big { font-size: 1.5rem; line-height: 1.35; }
.prose ul { list-style: none; margin: 0; padding: 0; }
.prose li { margin-bottom: .5em; }
.prose .muted { color: var(--muted); }
.offer { padding: 0 !important; border: 0 !important; }
.offer > div { padding: 22px 0; border-top: 1px solid var(--line); }
.offer h3 { margin: 0 0 .15em; font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.offer p { margin: 0; color: var(--muted); }
.start3 { display: grid; gap: 14px; margin-top: 8px; }
.start3 div { border: 1px solid var(--fg); border-radius: 22px 6px 22px 6px; padding: 20px; }
.start3 h3 { margin: 0 0 .2em; font-weight: 400; font-size: 1.7rem; }
.start3 p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .start3 { grid-template-columns: repeat(3, 1fr); } }
.quote { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.35; font-style: italic; }

/* ---------- Contact ---------- */
.contact { max-width: 34rem; margin: 0 auto; padding: 0 var(--pad) clamp(48px, 8vw, 96px); }
.contact .email-link { display: inline-block; font-size: clamp(1.7rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; margin: 0 0 .4em; }
.contact .email-link:hover { background: var(--fg); color: var(--bg); text-decoration: none; }
.contact .muted { color: var(--muted); margin: 0 0 2em; }
.contact form { text-align: left; border-top: 1px solid var(--line); padding-top: 28px; }
.field { display: grid; gap: 4px; margin-bottom: 22px; }
.field label { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--fg); padding: .5rem 0; font: inherit; border-radius: 0; }
.field textarea { min-height: 8rem; resize: vertical; border: 1px solid var(--fg); padding: .8rem; }
.field input::placeholder, .field textarea::placeholder { color: #a7a39b; font-style: italic; }
.field input:focus, .field textarea:focus { outline: 2px solid #1a56ff; outline-offset: 3px; }
.contact form .btn { display: block; margin: 8px auto 0; }
.form-note { font-size: 1rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(28px, 5vw, 48px) var(--pad) 32px; margin-top: clamp(24px, 4vw, 56px); }
.site-footer nav a { font-size: 1.1rem; }
.site-footer .legal { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.site-footer .legal a { text-underline-offset: .2em; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .web .card, .cue { animation: none; }
  .card, .card .thumb img, .title .ltr, .btn { transition: none; }
}

/* ---------- Polish ---------- */
.title { padding-bottom: .3em; }
.card.t-mango { background: radial-gradient(circle at 100% 0, #ff2e7e 0 34px, transparent 35px), radial-gradient(circle at 0 100%, #ffd23f 0 34px, transparent 35px), #ff9f1c; }
.card.t-mango .cbody { padding-bottom: 26px; }
@media (max-width: 520px) {
  .hero nav ul { gap: 0 8px; }
  .hero nav a { font-size: 1.02rem; padding: .35rem .3rem; }
}
.isl-head h1 { padding-bottom: .1em; }
@media (max-width: 520px) { nav ul { gap: 0 8px; } nav a { font-size: 1.02rem; padding: .35rem .3rem; } }

/* =========================================================
   v5: nav hover, title fit, 6-branch map, full-screen sheets
   ========================================================= */
nav ul { gap: 2px 6px; }
nav a { position: relative; padding: .5rem 1.1rem; border-radius: 999px; line-height: 1.3; transition: background .2s, color .2s; }
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { background: var(--fg); color: var(--bg); }
@media (max-width: 520px) { nav ul { gap: 0 2px; } nav a { font-size: 1.02rem; padding: .45rem .65rem; } }

.title { font-size: clamp(8rem, min(40vw, 44vh), 28rem); font-size: clamp(8rem, min(40vw, 44svh), 28rem); }

/* map: one root at the top, branches flow down. On a phone it becomes a swipe strip. */
.web-grid { position: relative; z-index: 1; }
.web .card { margin: 0; }
.col { display: flex; flex-direction: column; align-items: center; gap: 46px; }
.root-dot { margin: 0 auto 64px; }
@media (min-width: 1100px) {
  .web { width: min(1380px, 100%); }
  .web-grid { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 0 30px; align-items: start; }
  .col { margin-top: var(--s, 0px); }
  .web .card { max-width: 232px; }
  .web .hub { font-size: 1.3rem; white-space: nowrap; padding: .5em .95em .55em; }
  .web .cbody { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 1100px) and (max-width: 1239px) { .web .card { max-width: 184px; } .web .hub { font-size: 1.15rem; } }
/* desktop: the leaf wrappers are invisible, cards sit straight in the column */
.leaves, .leaf { display: contents; }

/* phone and tablet: the map becomes a tree you scroll down.
   A trunk runs down the left from the root dot; each branch hangs off it,
   and that branch's projects hang off the branch as compact cards. */
@media (max-width: 1099px) {
  .web { --tw: 1.5px; --tc: #bdb8ad; width: min(620px, 100%); margin: 12px auto 0; padding: 0 16px 40px; text-align: left; }
  .web::before, .web-svg { display: none !important; }
  .web .root-dot { margin: 0 0 0 8px; }
  .web-grid { display: block; }
  .col { position: relative; display: block; justify-items: stretch; margin: 0; padding: 26px 0 0 34px; }
  /* the trunk: full height for every branch except the last, which stops at its hub */
  .col::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 0; border-left: var(--tw) solid var(--tc); }
  .col:last-child::before { bottom: auto; height: 49px; }
  .web .hubw { position: relative; background: none; padding: 0; text-align: left; justify-self: start; }
  .web .hubw::before { content: ""; position: absolute; left: -19px; top: 23px; width: 19px; border-top: var(--tw) solid var(--tc); }
  .web .hub { font-size: 1.3rem; padding: .45em 1em .5em; }
  .web .cap { margin: .35em 0 0 .2em; max-width: none; font-size: .98rem; text-align: left; }
  /* the branch's own line down to its projects */
  .leaves { display: block; position: relative; margin: 6px 0 0 18px; }
  .leaf { display: block; position: relative; padding: 14px 12px 0 26px; }
  .leaf::before { content: ""; position: absolute; left: 0; top: 0; height: calc(14px + 44px); width: 22px; border-left: var(--tw) solid var(--tc); border-bottom: var(--tw) solid var(--tc); border-bottom-left-radius: 10px; }
  .leaf:not(:last-child)::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: var(--tw) solid var(--tc); }

  /* compact cards: picture on the left, words on the right */
  .web .card { display: grid; grid-template-columns: 92px 1fr; align-items: stretch; width: 100%; max-width: none; min-height: 88px; margin: 0;
    animation: none; rotate: 0deg; text-align: left; border-radius: 16px; }
  .web .card:hover, .web .card:focus-visible { scale: 1.02; }
  .web .card:not(:has(.thumb)) { grid-template-columns: 1fr; }
  .web .card .thumb { aspect-ratio: auto; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; }
  .web .card .cbody { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 12px 14px; }
  .web .card .k { font-size: .62rem; letter-spacing: .14em; }
  .web-grid .card h3 { font-size: 1.45rem; line-height: 1.05; margin: .2em 0 .15em; overflow-wrap: anywhere; }
  .web .card .c { font-size: .92rem; line-height: 1.25; }
  .web-grid .card.t-emp h3 { font-size: 1.6rem; }
  .web-grid .card.t-mango h3 { font-size: 1.08rem; overflow-wrap: normal; }
  .web-grid .card.t-vvv h3, .web-grid .card.t-dirt h3 { font-size: 1rem; }
  .web-grid .card.t-vr h3 { font-size: .92rem; letter-spacing: .02em; }
  .web-grid .card.t-arch h3 { font-size: 2.2rem; line-height: .85; }
  /* each project keeps a hint of its own shape */
  .web .card.t-emp { border-radius: 999px 14px 14px 999px; }
  .web .card.t-mango { border-radius: 14px 34px 14px 34px; box-shadow: 6px 6px 0 #2a0a1a; }
  .web .card.t-vr { border-radius: 24px; }
  .web .card.t-dirt { border-radius: 34px 10px 34px 10px; }
  .web .card.t-vvv { border-radius: 44px 44px 14px 14px; }
  .web .card.t-arch { border-radius: 0; }
  .web .card.t-reel { border-radius: 4px; }
}
@media (max-width: 1099px) and (prefers-reduced-motion: reduce) { .web .card:hover { scale: none; } }

/* Visit Vice Versa: sorbet island at sunset */
.t-vvv { --i-fg: #fff7e6; --i-muted: #ffe6d6; --i-line: rgba(255, 247, 230, .38); --i-panel: rgba(0, 0, 0, .2); --i-inv: #0b3d5c; --i-weight: 400; color: #fff7e6;
  background: radial-gradient(circle at 50% -3%, #ffd36e 0 64px, #ff9a62 65px 140px, transparent 141px), linear-gradient(#c93f73 0, #6e3a8f 30%, #1b5f8c 62%, #0b3d5c 100%);
  border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 40px 50px -34px rgba(11, 61, 92, .85); }
.card.t-vvv { border-radius: 130px 130px 36px 36px / 100px 100px 36px 36px; }
.card.t-vvv .cbody { padding-top: 56px; }
.island.t-vvv { border-radius: 40px 170px 40px 170px; }

/* full-screen project sheet */
html.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain; color: var(--i-fg); border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.sheet[hidden] { display: none; }
.sheet-close { position: fixed; top: 14px; right: 16px; z-index: 3; font-size: 1.1rem; padding: .5rem 1.15rem; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: var(--i-fg); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.sheet-close:hover, .sheet-close:focus-visible { background: var(--i-fg); color: var(--i-inv); }
.sheet-inner { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--pad) 72px; }
.sheet .label, .sheet .tagline { color: var(--i-muted); }
.sheet .next-link { border-color: var(--i-line); }
.sheet .next-link:hover { background: var(--i-fg); color: var(--i-inv); }
.sheet .next-link:hover .label { color: var(--i-inv); }
.sheet .rows, .sheet .meta { border-top-color: var(--i-line); }

/* nav sits above the oversized title's glyph boxes, which overflow their line height */
.hero nav { position: relative; z-index: 5; }
.title, .title .ltr { pointer-events: none; }

/* =========================================================
   v6: per-project type, black-ink art, curtain video, art window, highlighted line
   ========================================================= */

/* the line under "mjc": black highlighter */
.tag .a { line-height: 1.55; margin-bottom: .7em; }
.tag .a mark { background: #111; color: #fff; padding: .1em .42em .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tag .a mark em { font-style: italic; }

/* services: why it works */
.why > div { padding: 22px 0; border-top: 1px solid var(--line); }
.why h3 { margin: 0 0 .15em; font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.why p { margin: 0; color: var(--muted); }

/* every project speaks in its own typeface */
.card, .island, .sheet { font-family: var(--i-body, var(--serif)); }
.card h3, .island h1, .island h2, .island h3, .sheet h1, .sheet h2, .sheet h3, .row h2, .next-title, .t-emp .meta dt { font-family: var(--i-head, var(--serif)); }
.island .label, .sheet .label, .card .k, .meta dt, .shot figcaption { font-family: var(--i-body, var(--serif)); }
.sheet .next-title { font-family: var(--i-head, var(--serif)); }

.t-emp   { --i-head: "Bodoni Moda", "Didot", Georgia, serif; --i-body: "Bodoni Moda", "Didot", Georgia, serif; }
.t-mango { --i-head: "Shrikhand", "Georgia", serif; --i-body: "Fredoka", system-ui, sans-serif; --i-weight: 400; }
.t-vvv   { --i-head: "Unbounded", system-ui, sans-serif; --i-body: "Outfit", system-ui, sans-serif; --i-weight: 700; }
.t-dirt  { --i-head: "Space Mono", ui-monospace, monospace; --i-body: "Space Mono", ui-monospace, monospace; --i-weight: 700; }
.t-arch  { --i-head: "Barlow Condensed", "Arial Narrow", sans-serif; --i-body: "Barlow Condensed", "Arial Narrow", sans-serif; --i-weight: 700; }
.t-vr    { --i-head: "Syncopate", system-ui, sans-serif; --i-body: "Jost", system-ui, sans-serif; --i-weight: 700; }
.t-ink   { --i-head: "Rubik Distressed", Impact, sans-serif; --i-body: "Special Elite", "Courier New", monospace; --i-weight: 400;
           --i-fg: #f2efe8; --i-muted: #bdb8ab; --i-line: rgba(242, 239, 232, .3); --i-panel: rgba(255, 255, 255, .05); --i-inv: #0a0a0a; color: #f2efe8; }
.t-reel  { --i-head: "Limelight", Georgia, serif; --i-body: "Karla", system-ui, sans-serif; --i-weight: 400;
           --i-fg: #f7e3a1; --i-muted: #e9cf86; --i-line: rgba(247, 227, 161, .4); --i-panel: rgba(0, 0, 0, .25); --i-inv: #5a0a17; color: #f7e3a1;
           background: radial-gradient(70% 38% at 50% -6%, rgba(255, 236, 170, .5), transparent 70%), repeating-linear-gradient(90deg, rgba(0, 0, 0, .26) 0 14px, transparent 14px 34px, rgba(255, 255, 255, .05) 34px 38px, transparent 38px 62px), #7a0f1e;
           border: 2px solid #f3c969; box-shadow: inset 0 0 0 6px #7a0f1e, inset 0 0 0 7.5px rgba(243, 201, 105, .7), 0 40px 50px -34px rgba(60, 0, 10, .8); }

/* sizes that suit each face */
.card.t-emp h3 { font-style: italic; font-size: 2.1rem; letter-spacing: -.01em; }
.t-emp .isl-head h1 { font-style: italic; letter-spacing: -.02em; }
.card.t-mango h3 { font-size: 2rem; letter-spacing: 0; line-height: 1.05; }
.t-mango .isl-head h1 { letter-spacing: 0; line-height: 1; }
.card.t-vvv h3 { font-size: 1.28rem; letter-spacing: -.03em; line-height: 1.15; }
.t-vvv .isl-head h1 { font-size: clamp(2.3rem, 8.4vw, 6rem); letter-spacing: -.04em; line-height: 1.02; }
.card.t-dirt h3 { font-size: 1.3rem; letter-spacing: -.05em; line-height: 1.1; }
.t-dirt .isl-head h1 { font-size: clamp(2.4rem, 8.6vw, 6rem); letter-spacing: -.07em; line-height: 1; }
.t-dirt .row .txt { font-size: 1.12rem; line-height: 1.6; }
.card.t-arch h3 { font-size: 2.4rem; text-transform: uppercase; letter-spacing: .02em; }
.t-arch .isl-head h1 { text-transform: uppercase; letter-spacing: .01em; font-size: clamp(3.6rem, 13vw, 9.5rem); }
.t-arch .row .txt { font-size: 1.45rem; line-height: 1.35; }
.card.t-vr h3 { font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }
.t-vr .isl-head h1 { font-style: normal; font-size: clamp(2rem, 6.6vw, 4.8rem); letter-spacing: .02em; line-height: 1.08; text-transform: uppercase; }
.t-vr .row h2 { letter-spacing: .1em; }
.card.t-ink h3 { font-size: 2.1rem; line-height: 1; }
.t-ink .isl-head h1 { font-size: clamp(3.6rem, 13vw, 9rem); letter-spacing: -.01em; line-height: .95; }
.t-ink .row h2 { font-size: 1.15rem; }
.card.t-reel h3 { font-size: 2rem; line-height: 1; letter-spacing: .01em; }
.t-reel .isl-head h1 { font-size: clamp(3.2rem, 11vw, 8rem); line-height: 1; letter-spacing: .01em; }
.t-reel .tagline, .t-reel .row .txt { font-size: 1.3rem; }
.card.t-reel { border-radius: 90px 90px 10px 10px / 46px 46px 10px 10px; }
.card.t-reel .cbody { padding-top: 38px; padding-bottom: 24px; }
.card.t-reel .cbody::before { content: ""; display: block; width: 0; height: 0; margin: 0 auto 14px; border-left: 22px solid #f3c969; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.island.t-reel { border-radius: 150px 150px 20px 20px / 70px 70px 20px 20px; padding-top: clamp(60px, 9vw, 120px); }

/* ----- the black ink theme (art) ----- */
.card.t-ink, .island.t-ink { background: none; border: 0; box-shadow: none; overflow: visible; isolation: isolate; border-radius: 0; }
.card.t-ink { rotate: 1.2deg; }
.card.t-ink::before, .island.t-ink::before { content: ""; position: absolute; inset: -12px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 8% 12%, rgba(255, 255, 255, .1) 0 1.3px, transparent 1.9px) 0 0 / 19px 23px,
              radial-gradient(circle at 70% 40%, rgba(255, 255, 255, .07) 0 2px, transparent 2.7px) 0 0 / 41px 37px,
              repeating-linear-gradient(101deg, transparent 0 53px, rgba(255, 255, 255, .05) 53px 54px, transparent 54px 131px),
              radial-gradient(70% 34% at 18% 0, #222, transparent 70%), #0a0a0a;
  filter: url(#ink-edge); }
.card.t-ink::after, .island.t-ink::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 4px); height: 80px; pointer-events: none; z-index: -1;
  background: linear-gradient(#0a0a0a, #0a0a0a) 14% 0 / 6px 44px no-repeat, linear-gradient(#0a0a0a, #0a0a0a) 41% 0 / 4px 26px no-repeat,
              linear-gradient(#0a0a0a, #0a0a0a) 63% 0 / 8px 64px no-repeat, linear-gradient(#0a0a0a, #0a0a0a) 87% 0 / 5px 34px no-repeat;
  filter: url(#ink-rough); }
.card.t-ink .thumb { margin: 18px 18px 0; background: #1a1a1a; filter: url(#ink-rough); }
.card.t-ink .thumb img, .t-ink .tim img { filter: grayscale(1) contrast(1.45) brightness(.95); transition: filter .5s, transform .8s; }
.card.t-ink:hover .thumb img { filter: grayscale(.15) contrast(1.15); }
.card.t-ink .cbody { padding: 16px 22px 28px; }
.t-ink h1, .t-ink h3, .card.t-ink h3 { filter: url(#ink-text); }
.island.t-ink { padding-top: clamp(34px, 6vw, 80px); }
.sheet.t-ink { background: radial-gradient(circle at 8% 12%, rgba(255, 255, 255, .08) 0 1.3px, transparent 1.9px) 0 0 / 19px 23px,
  radial-gradient(circle at 70% 40%, rgba(255, 255, 255, .06) 0 2px, transparent 2.7px) 0 0 / 41px 37px,
  repeating-linear-gradient(101deg, transparent 0 53px, rgba(255, 255, 255, .045) 53px 54px, transparent 54px 131px), #0a0a0a; }

/* art: links, toggled groups, tiles */
.alinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 clamp(26px, 4vw, 44px); }
.alinks a { padding: .5rem 1.25rem; border: 1.5px solid currentColor; border-radius: 999px; text-decoration: none; font-size: 1.05rem; transition: background .2s, color .2s; }
.alinks a:hover, .alinks a:focus-visible { background: var(--i-fg); color: var(--i-inv); }
.agroup { max-width: 1040px; margin: 0 auto; border-top: 1px solid var(--i-line); text-align: left; }
.agroup:last-of-type { border-bottom: 1px solid var(--i-line); }
.agroup summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 14px; padding: 18px 4px; font-family: var(--i-head); font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1; }
.agroup summary::-webkit-details-marker { display: none; }
.agroup summary::after { content: "+"; margin-left: auto; font-family: var(--i-body); font-size: 1.6rem; }
.agroup[open] summary::after { content: "\2013"; }
.agroup summary:hover .gname { text-decoration: underline; text-underline-offset: .12em; }
.gcount { font-family: var(--i-body); font-size: .95rem; color: var(--i-muted); }
.agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; list-style: none; margin: 0; padding: 4px 4px 36px; }
@media (min-width: 700px) { .agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; } }
@media (min-width: 1000px) { .agrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { display: block; text-decoration: none; color: inherit; text-align: left; transition: translate .3s ease; }
.tile:hover, .tile:focus-visible { translate: 0 -4px; }
.tile:hover img, .tile:focus-visible img { filter: grayscale(0) contrast(1.05); }
.tim { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.tim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agrid li:nth-child(3n+1) .tim { clip-path: polygon(0 1.5%, 5% 0, 22% 1.6%, 46% 0, 71% 1.2%, 93% 0, 100% 1.4%, 99% 34%, 100% 68%, 98.6% 100%, 74% 98.6%, 45% 100%, 19% 98.8%, 0 100%, 1.2% 64%); }
.agrid li:nth-child(3n+2) .tim { clip-path: polygon(0 0, 24% 1.4%, 52% 0, 78% 1.6%, 100% 0, 98.8% 30%, 100% 62%, 99% 100%, 66% 98.6%, 38% 100%, 12% 98.4%, 0 100%, 1.4% 70%, 0 36%); }
.agrid li:nth-child(3n) .tim { clip-path: polygon(1% 1%, 17% 0, 43% 1.5%, 68% 0, 96% 1.4%, 100% 0, 99% 40%, 100% 77%, 97% 100%, 72% 98.8%, 49% 100%, 21% 98.6%, 0 100%, 1.3% 58%, 0 29%); }
.tt { display: block; margin-top: 9px; font-size: 1.08rem; line-height: 1.2; }
.tile time { display: block; margin-top: 3px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--i-muted); }

/* the artwork window: opens from its tile, click anywhere outside to put it away */
.awin { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: max(12px, 3vw); }
.awin[hidden] { display: none; }
.awin-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); backdrop-filter: blur(3px); animation: awfade .3s ease both; cursor: pointer; }
@keyframes awfade { from { opacity: 0; } }
.awin-card { position: relative; width: min(1000px, 100%); max-height: min(90vh, 940px); overflow-y: auto; overscroll-behavior: contain; background: #0a0a0a; color: #f2efe8;
  font-family: "Special Elite", "Courier New", monospace; border: 1px solid rgba(242, 239, 232, .28); border-radius: 6px 24px 6px 24px; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .85); }
.awin-x { position: sticky; top: 10px; z-index: 3; display: block; margin: 10px 10px -48px auto; padding: .45rem 1.05rem; font: inherit; font-size: 1.02rem; color: #f2efe8; background: rgba(10, 10, 10, .75); border: 1.5px solid currentColor; border-radius: 999px; cursor: pointer; backdrop-filter: blur(4px); }
.awin-x:hover, .awin-x:focus-visible { background: #f2efe8; color: #0a0a0a; }
.awin-in { display: grid; }
@media (min-width: 820px) { .awin-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } .awin-fig { position: sticky; top: 0; align-self: start; } }
.awin-fig { background: #000; }
.awin-fig img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.awin-txt { padding: clamp(22px, 3.4vw, 40px); text-align: left; }
.awin-txt .label { font-size: .8rem; letter-spacing: .18em; color: #bdb8ab; }
.awin-txt h2 { margin: .2em 0 .5em; font-family: "Rubik Distressed", Impact, sans-serif; font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: .98; filter: url(#ink-text); }
.awin-txt h3 { margin: 1.8em 0 .6em; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: #bdb8ab; font-weight: 400; border-top: 1px solid rgba(242, 239, 232, .25); padding-top: 1.2em; }
.awin-txt p { margin: 0 0 1em; font-size: 1.08rem; line-height: 1.55; }
.awin-txt a { text-underline-offset: .2em; }
.ameta { margin: 0 0 1.3em; display: grid; gap: 6px; }
.ameta div { display: flex; gap: 14px; font-size: .98rem; }
.ameta dt { width: 6.5em; flex: none; color: #bdb8ab; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; padding-top: .2em; }
.ameta dd { margin: 0; }
.aproc { display: grid; gap: 16px; margin-top: 8px; }
.aproc figure { margin: 0; }
.aproc img { width: 100%; display: block; filter: grayscale(1) contrast(1.2); }
.aproc figcaption { padding-top: 6px; font-size: .92rem; color: #bdb8ab; }
.amint { margin-top: 1.6em; }
.amint a { display: inline-block; padding: .55rem 1.3rem; border: 1.5px solid currentColor; border-radius: 999px; text-decoration: none; }
.amint a:hover { background: #f2efe8; color: #0a0a0a; }

/* video */
.vids { display: grid; gap: 26px; margin: 26px auto 34px; max-width: 46rem; }
.vid { margin: 0; }
.vplay { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; aspect-ratio: 16 / 9; padding: 16px; font: inherit; font-family: var(--i-head); color: var(--i-fg); text-decoration: none; cursor: pointer;
  background: radial-gradient(60% 80% at 50% 0, rgba(255, 236, 170, .28), transparent 70%), #1c0408; border: 2px solid var(--i-fg); border-radius: 14px; transition: background .25s, color .25s; }
.vplay:hover, .vplay:focus-visible { background: var(--i-fg); color: var(--i-inv); }
.vtri { flex: none; width: 0; height: 0; border-left: 30px solid currentColor; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.vname { font-size: clamp(1.1rem, 3.4vw, 1.7rem); line-height: 1.1; text-align: left; }
.vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.vid figcaption { padding-top: 10px; color: var(--i-muted); }
.vid time { letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-right: .6em; }

@media (prefers-reduced-motion: reduce) { .awin-back { animation: none; } .tile { transition: none; } }

/* Artprojects: the name is set in Micro 5 Charted, a pixel face drawn on chart paper */
@font-face { font-family: "Micro 5 Charted"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/micro-5-charted-latin-400-normal.woff2") format("woff2"); }
.card.t-arch h3, .t-arch .isl-head h1 { font-family: "Micro 5 Charted", "Barlow Condensed", monospace; font-weight: 400; text-transform: none; letter-spacing: 0; }
.card.t-arch h3 { font-size: 3rem; line-height: .85; }
.t-arch .isl-head h1 { font-size: clamp(3.6rem, 15vw, 11rem); line-height: .85; overflow-wrap: normal; }
