/* nickburum.com: the portfolio, in the Nick Makes Games look.
   Loaded after /games/nmg.css, which supplies the tokens (paper, ink, sun, coral, teal, night), the fonts
   (Outfit for display, Bricolage Grotesque for body), the grain, .btn, .stamp, .kicker, .lede, .bar, .foot and .wrap.
   This file only adds the portfolio's own sections. No scripts; motion is CSS only. */

/* ---- top bar ---------------------------------------------------------------------------------------------- */
.pf-mark { display: inline-flex; align-items: center; min-height: 44px; font: 800 22px/1 var(--display); letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.pf-mark span { color: var(--coral-ink); }
.pf-nav { align-items: center; }
.pf-bar .wrap { justify-content: flex-start; }
.pf-bar .pf-mark { margin-right: auto; }
a.pf-cv {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--ink); color: var(--cream); font: 700 15px/1 var(--display); text-decoration: none;
  box-shadow: 3px 3px 0 var(--coral); transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
a.pf-cv:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--coral); }
a.pf-cv:focus-visible { outline-offset: 4px; }

/* shared bits */
.pf-cta { display: flex; flex-wrap: wrap; gap: 16px 18px; align-items: center; margin-top: 24px; }
.link { display: inline-flex; align-items: center; min-height: 44px; font: 800 17px/1.2 var(--display); }
.link::after { content: "→"; margin-left: 6px; transition: transform .15s var(--ease); }
.link:hover::after { transform: translateX(3px); }
.meta { font: 700 14px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.role { font: 700 16px/1.4 var(--display); color: var(--ink); margin: 0 0 10px; }
.fine { font-size: 15px; color: var(--ink-3); margin: 14px 0 0; }

/* ---- intro ------------------------------------------------------------------------------------------------ */
.intro { padding: clamp(36px, 6vw, 76px) 0 clamp(40px, 6vw, 70px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.intro h1 { font-size: clamp(54px, 8.6vw, 112px); line-height: .92; letter-spacing: -.025em; }
.intro__line { font: 800 clamp(23px, 2.7vw, 32px)/1.15 var(--display); margin: 18px 0 14px; max-width: 17em; text-wrap: balance; }
.intro__line em { font-style: normal; color: var(--coral-ink); }
.intro .lede { font-size: clamp(18px, 1.7vw, 20px); margin: 0; }

/* the shelf: real game art, tilted like boxes on a table. Static links, no dragging. */
.shelf-art { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; justify-self: center; }
.sa { position: absolute; display: block; border: 2px solid var(--ink); background: var(--ink); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sa img { width: 100%; height: 100%; object-fit: cover; }
.sa--hm { right: 0; top: 6%; width: 74%; aspect-ratio: 16 / 9; border-radius: 22px; box-shadow: 8px 8px 0 var(--coral); transform: rotate(3deg); }
.sa--mlc { left: 2%; top: 30%; width: 40%; aspect-ratio: 2 / 3; border-radius: 20px; box-shadow: 8px 8px 0 var(--sun); transform: rotate(-6deg); z-index: 1; }
.sa--pnp { right: 8%; bottom: 3%; width: 30%; aspect-ratio: 1; border-radius: 24%; box-shadow: 6px 6px 0 var(--ink); transform: rotate(7deg); z-index: 2; }
.sa--hm:hover { transform: rotate(2deg) translate(-2px, -3px); box-shadow: 11px 11px 0 var(--coral); }
.sa--mlc:hover { transform: rotate(-4deg) translate(-2px, -3px); box-shadow: 11px 11px 0 var(--sun); }
.sa--pnp:hover { transform: rotate(4deg) translate(-2px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.sa:focus-visible { outline-offset: 5px; border-radius: 22px; }
.sa-stamp { position: absolute; z-index: 3; font-size: 13px; white-space: nowrap; }
.sa-stamp--steam { left: 0; top: 22%; transform: rotate(-8deg); }
.sa-stamp--ic { right: 2%; top: 0; transform: rotate(4deg); }

/* proof: four number tiles, each with its own shadow colour */
.proof { list-style: none; padding: 0; margin: clamp(34px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 26px); }
.proof li { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 16px 18px 18px; box-shadow: 5px 5px 0 var(--sun); font-size: 16px; line-height: 1.35; color: var(--ink-2); }
.proof li:nth-child(2) { box-shadow: 5px 5px 0 var(--coral); }
.proof li:nth-child(3) { box-shadow: 5px 5px 0 var(--teal); }
.proof li:nth-child(4) { box-shadow: 5px 5px 0 var(--ink); }
.proof b { display: block; font: 800 clamp(34px, 4vw, 46px)/1 var(--display); color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }

/* credits: like end credits, a game, dotted leaders, and the role */
.credits { margin-top: clamp(30px, 4vw, 44px); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(20px, 3.4vw, 34px) clamp(20px, 3.6vw, 38px); box-shadow: 8px 8px 0 var(--ink); }
.credits .kicker { margin-bottom: 10px; }
.credits ol { list-style: none; margin: 0; padding: 0; }
.credits a { display: flex; align-items: baseline; gap: 14px; min-height: 48px; padding: 10px 0; text-decoration: none; border-bottom: 1px dashed var(--rule); }
.credits li:last-child a { border-bottom: 0; }
.credits .what { font: 800 clamp(19px, 2vw, 22px)/1.2 var(--display); }
.credits .what small { font: 500 15px/1 var(--body); color: var(--ink-3); margin-left: 8px; }
.credits .dots { flex: 1; min-width: 20px; border-bottom: 2px dotted var(--rule); transform: translateY(-5px); }
.credits .role { margin: 0; font-size: 16px; color: var(--ink-2); text-align: right; }
.credits a:hover .what { color: var(--coral-ink); }
.credits a:focus-visible { border-radius: 8px; }
.credits__more { margin: 12px 0 0; font-size: 16px; color: var(--ink-3); }

/* ---- sections --------------------------------------------------------------------------------------------- */
.block { padding: clamp(46px, 7vw, 90px) 0; }
.block__head { max-width: 40em; margin-bottom: clamp(26px, 4vw, 44px); }
.block__head h2 { font-size: clamp(42px, 6.4vw, 76px); letter-spacing: -.02em; margin-bottom: 12px; }
.block__head p:not(.kicker) { font-size: clamp(18px, 1.8vw, 20px); color: var(--ink-2); margin: 0; text-wrap: pretty; }
#contact { padding-top: 0; }
.block__head p a { font-weight: 700; white-space: nowrap; }

/* a case study: one rounded card per game, with that game's colours */
.case { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: 10px 10px 0 var(--ink); }
.case + .case { margin-top: clamp(40px, 6vw, 64px); }
.case__body { padding: clamp(22px, 4vw, 44px); }
.case__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); }
.case h3 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.02em; }
.case__sub { font: 800 clamp(20px, 2.2vw, 25px)/1.2 var(--display); color: var(--coral-ink); margin: 8px 0 14px; }
.case p { color: var(--ink-2); }

.spec { margin: 0; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--cream); }
.spec div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 11px 16px; border-top: 1px solid var(--rule); }
.spec div:first-child { border-top: 0; }
.spec dt { font: 800 13px/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.spec dd { margin: 0; font: 700 17px/1.45 var(--display); color: var(--ink); }

.owned { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); margin-top: clamp(26px, 4vw, 40px); padding-top: clamp(22px, 3vw, 30px); border-top: 2px solid var(--ink); }
.owned h4 { font: 800 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; display: inline-block; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 9px; padding: 6px 10px 5px; }
.owned ul { list-style: none; margin: 0; padding: 0; }
.owned li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.owned li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 3px; background: var(--coral); }
.owned strong { color: var(--ink); }

/* My Little Cemetery */
.mlc { box-shadow: 10px 10px 0 var(--sun); }
.mlc__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(26px, 5vw, 56px); align-items: start; }
.mlc__cover { position: relative; margin: 6px 0 0 4px; }
.mlc__cover a { display: block; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-3deg); transition: transform .2s var(--ease); }
.mlc__cover a:hover { transform: rotate(-2deg) translateY(-3px); }
.mlc__cover a:focus-visible { outline-offset: 6px; }
.mlc__cover .stamp { position: absolute; right: -6px; bottom: 18px; transform: rotate(-8deg); }
.mlc .spec { margin-top: 18px; }
.mlc__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); margin-top: clamp(26px, 4vw, 38px); }
.mlc__shots figure { margin: 0; }
.mlc__shots img { width: 100%; border-radius: 16px; border: 2px solid var(--ink); }
.mlc__shots figcaption { margin-top: 8px; font: 700 14px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* smaller team games */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3.5vw, 40px); margin-top: clamp(40px, 6vw, 64px); }
.mini { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: 8px 8px 0 var(--coral); }
.mini--dark { box-shadow: 8px 8px 0 var(--teal); }
.mini__art { display: block; border-right: 2px solid var(--ink); background: #1d1d1d; }
.mini__art img { width: 100%; height: 100%; object-fit: cover; }
.mini--dark .mini__art img { object-fit: contain; padding: 10%; }
.mini__body { padding: 20px 22px 18px; display: flex; flex-direction: column; }
.mini h3 { font-size: clamp(26px, 2.8vw, 32px); margin-bottom: 8px; }
.mini p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.mini .role { font-size: 15px; color: var(--ink); }
.mini .link { margin-top: auto; }

.also { list-style: none; padding: 0; margin: clamp(30px, 5vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 26px); }
.also li { border: 2px solid var(--ink); border-radius: 20px; padding: 18px 20px 6px; background: var(--cream); }
.also h3 { font-size: 22px; margin-bottom: 6px; }
.also .role { font-size: 15px; color: var(--coral-ink); }
.also p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.film { margin: 22px 0 0; max-width: 52em; font-size: 17px; color: var(--ink-2); }
.film b { font-family: var(--display); color: var(--ink); }

/* ---- Nick Makes Games -------------------------------------------------------------------------------------- */
.studio { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--paper-2) url("/games/img/grain.svg"); }
.studio__head { display: flex; gap: clamp(16px, 3vw, 26px); align-items: flex-start; max-width: 46em; }
/* the shadow is a plain shape behind the icon, not a filter: Safari leaves a stray strip under a rotated element
   that has a drop-shadow filter. The inset and radius match the tile inside mark.svg (16/512 inset, 124/480 radius). */
.studio__logo { position: relative; isolation: isolate; flex: none; display: block; width: clamp(60px, 8vw, 84px); border-radius: 26%; transform: rotate(-6deg); transition: transform .2s var(--ease); }
.studio__logo::before { content: ""; position: absolute; inset: 3.125%; border-radius: 25.8%; background: var(--ink); transform: translate(4px, 4px); z-index: -1; }
.studio__logo img { position: relative; width: 100%; height: auto; }
.studio__logo:hover { transform: rotate(-2deg) translateY(-2px); }

/* Pull N Park: the spotlight, in the game's teal */
.spot {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  border: 2px solid var(--ink); border-radius: 34px; overflow: hidden; box-shadow: 10px 10px 0 var(--sun);
  background: linear-gradient(170deg, #0b787e, var(--teal-2) 55%, #08525a); color: var(--cream);
  padding: clamp(26px, 4.5vw, 54px) 0 clamp(26px, 4.5vw, 54px) clamp(22px, 4.5vw, 54px);
}
.spot :focus-visible { outline-color: var(--sun); }
.spot__top { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.spot__icon { width: clamp(84px, 9vw, 112px); border-radius: 24%; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); }
.spot__stamp { transform: rotate(5deg); white-space: nowrap; }
.spot__title { font: 400 clamp(46px, 6.4vw, 82px)/.95 "Titan One", var(--display); letter-spacing: .01em; color: var(--cream); text-shadow: 0 6px 0 #8f1e17, 4px 9px 0 rgba(0, 0, 0, .18); }
.spot__tag { font: 800 clamp(17px, 2vw, 22px)/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; margin: 16px 0 6px; }
.spot__meta { font: 700 15px/1.4 var(--display); color: var(--cream); margin-bottom: 14px; }
.spot p { color: var(--cream); }
.spot__how { background: rgba(4, 44, 48, .45); border: 2px solid rgba(255, 248, 238, .35); border-radius: 18px; padding: 14px 18px 2px; margin-top: 4px; }
.spot__how h4 { font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin: 2px 0 8px; }
.spot__how p { font-size: 16px; line-height: 1.55; }
.spot .btn.spot__btn { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.spot .btn.spot__btn:hover { box-shadow: 6px 6px 0 var(--ink); }
.spot .badge-soon { color: var(--ink); }
.spot__link { color: var(--cream); text-decoration-color: var(--sun); margin-top: 10px; }
.spot__phones { position: relative; align-self: stretch; min-height: 420px; }
.spot__phones img { position: absolute; width: 54%; border-radius: 26px; border: 4px solid var(--ink); box-shadow: 10px 12px 0 rgba(4, 44, 48, .55); }
.spot__phones img:nth-child(1) { left: 0; top: 12%; transform: rotate(-7deg); z-index: 1; }
.spot__phones img:nth-child(2) { right: -12%; top: 2%; transform: rotate(6deg); }

/* Conquest of Ediguard: the smaller card, in the game's night and gold */
.edi {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 44px); align-items: center;
  margin-top: clamp(36px, 5vw, 52px); padding: clamp(22px, 3.6vw, 38px); border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--night); color: var(--parch); box-shadow: 8px 8px 0 var(--gold);
}
.edi :focus-visible { outline-color: var(--gold); }
.edi__art { display: block; transition: transform .2s var(--ease); border-radius: 16px; overflow: hidden; border: 2px solid #4a3d22; }
.edi__art:hover { transform: translateY(-3px); }
.edi__art img { width: 100%; image-rendering: pixelated; }
.edi__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.edi__shots img { width: 100%; border-radius: 12px; border: 2px solid #4a3d22; image-rendering: pixelated; }
.edi__stamp { position: absolute; top: clamp(16px, 2.6vw, 26px); right: clamp(16px, 2.6vw, 26px); color: var(--gold); border-color: var(--gold); background: var(--night); }
.edi .meta { color: var(--gold); padding-right: 100px; }
.edi h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 2px 0 8px; color: #fff4dc; }
.edi .role { color: var(--parch); }
.edi p { font-size: 16.5px; line-height: 1.55; color: #e6d7b4; }
.edi strong { color: #fff4dc; }
.edi__facts { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.edi__facts li { border: 2px solid #4a3d22; border-radius: 14px; padding: 10px 11px; font-size: 13.5px; line-height: 1.3; color: #cbbd9b; }
.edi__facts b { display: block; font: 800 24px/1 var(--display); color: var(--gold); margin-bottom: 4px; }
.edi .btn.edi__btn { background: var(--gold); color: var(--night); border-color: var(--gold); box-shadow: 4px 4px 0 #8a5d10; }
.edi .btn.edi__btn:hover { box-shadow: 6px 6px 0 #8a5d10; }
.edi__link { color: var(--gold); text-decoration-color: var(--gold); }

/* ---- workshop: index cards with real screenshots or a drawn pipeline ---------------------------------------- */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 40px); }
.tool { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px) 22px; box-shadow: 8px 8px 0 var(--teal); }
.tool:nth-child(2) { box-shadow: 8px 8px 0 var(--coral); }
.tool:nth-child(3) { box-shadow: 8px 8px 0 var(--sun); }
.tool:nth-child(4) { box-shadow: 8px 8px 0 var(--ink); }
.tool__visual { aspect-ratio: 16 / 10; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 18px; }
.tool__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tool__visual--flow {
  display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(14px, 3vw, 28px);
  background-color: var(--cream);
  background-image: linear-gradient(rgba(201, 188, 159, .38) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 188, 159, .38) 1px, transparent 1px);
  background-size: 22px 22px;
}
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center; }
.flow li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font: 800 14px/1 var(--display); }
.flow li:not(:last-child)::after { content: "→"; margin: 0 -2px 0 10px; color: var(--ink-3); font-weight: 700; }
.flow li.ai { background: var(--teal-ink); color: var(--cream); border-color: var(--ink); }
.flow li.ai::after { color: #bfe6e2; }
.legend { display: flex; gap: 18px; margin: 0; font: 700 14px/1 var(--display); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--ink); background: #fff; }
.legend i.ai { background: var(--teal-ink); }
.tool h3 { font-size: clamp(23px, 2.4vw, 28px); margin: 0 0 8px; }
.tool p { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.tool .guard { margin: 0; background: var(--cream); border: 2px dashed var(--rule); border-radius: 14px; padding: 12px 14px; }
.tool .guard b { font-family: var(--display); color: var(--teal-ink); }

/* ---- about ------------------------------------------------------------------------------------------------ */
.me { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.me__photo { position: relative; width: min(280px, 72%); margin: 14px 0 28px 6px; background: #fff; padding: 10px 10px 14px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-3deg); }
.me__photo::before { content: ""; position: absolute; top: -13px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 201, 51, .82); border-left: 1px dashed rgba(0, 0, 0, .15); border-right: 1px dashed rgba(0, 0, 0, .15); }
.me__photo img { width: 100%; }
.me__photo figcaption { font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-align: center; margin-top: 12px; color: var(--ink-2); }
.me__quote { font: 800 clamp(23px, 2.5vw, 30px)/1.2 var(--display); margin-bottom: 18px; }
.me__quote em { font-style: normal; color: var(--coral-ink); }
.me__intro p:not(.me__quote) { color: var(--ink-2); }
.cv { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(20px, 3.4vw, 34px); box-shadow: 8px 8px 0 var(--sun); }
.cv h3 { font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 4px; }
.cv h3:first-child { margin-top: 0; }
.cv__entry { padding: 12px 0; border-bottom: 1px dashed var(--rule); }
.cv__entry:last-of-type { border-bottom: 0; }
.cv__entry p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.cv__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin-bottom: 4px !important; }
.cv__head b { font: 700 17px/1.35 var(--display); color: var(--ink); }
.cv__head span { font: 700 14px/1.6 var(--display); color: var(--ink-3); white-space: nowrap; }
.cv__head span.now { color: var(--coral-ink); }
.cv .spec { margin-top: 8px; }

/* ---- contact: the sunny block ----------------------------------------------------------------------------- */
.reach { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--sun); border: 2px solid var(--ink); border-radius: 34px; padding: clamp(26px, 5vw, 56px); box-shadow: 10px 10px 0 var(--ink); }
.reach h2 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.02em; margin-bottom: 14px; }
.reach p { font-size: clamp(18px, 1.8vw, 20px); color: var(--ink); max-width: 30em; }
.reach .btn.ghost { box-shadow: 4px 4px 0 var(--ink); }
.reach__mail { max-width: 100%; overflow-wrap: anywhere; }
.kv { margin: 0; background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; }
.kv div { padding: 12px 18px; border-top: 1px solid var(--rule); }
.kv div:first-child { border-top: 0; }
.kv dt { font: 800 13px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { margin: 0; font: 700 18px/1.4 var(--display); overflow-wrap: anywhere; }
.kv a { display: inline-flex; align-items: center; min-height: 44px; }

/* footer */
.foot { margin-top: 0; }
.foot .pf-mark { font-size: 19px; }

/* ---- 404 -------------------------------------------------------------------------------------------------- */
.lost { min-height: calc(100vh - 66px); display: grid; align-items: center; padding: clamp(40px, 8vw, 90px) 0; }
.lost .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.lost h1 { font-size: clamp(50px, 8vw, 104px); letter-spacing: -.025em; margin: 18px 0 16px; }
.lost h1 em { font-style: normal; color: var(--coral-ink); }
.lost .stamp { font-size: 15px; }
.lost__face { position: relative; isolation: isolate; display: block; width: 100%; max-width: 320px; justify-self: center; transform: rotate(-6deg); }
.lost__face::before { content: ""; position: absolute; inset: 3.125%; border-radius: 25.8%; background: var(--ink); transform: translate(10px, 10px); z-index: -1; }
.lost__face img { position: relative; width: 100%; height: auto; }
.lost__links { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 560px; }
.lost__links a { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font: 800 18px/1.2 var(--display); transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.lost__links a span { font: 400 15px/1.3 var(--body); color: var(--ink-3); }
.lost__links a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }

/* ---- motion ----------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .sa, .edi__art, .mlc__cover a, .studio__logo, .lost__links a, .link::after, a.pf-cv { transition: none; }
}

/* ---- tablets and phones ----------------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  .tools { gap: 28px; }
}
@media (max-width: 860px) {
  .pf-bar { position: static; }
  .pf-bar .wrap { flex-wrap: wrap; row-gap: 0; padding-top: 6px; padding-bottom: 8px; }
  .pf-nav { order: 3; width: 100%; justify-content: space-between !important; gap: 0 12px !important; }
  .intro__grid, .case__grid, .mlc__grid, .spot, .edi, .tools, .me, .reach, .lost .wrap { grid-template-columns: minmax(0, 1fr); }
  .shelf-art { max-width: 460px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owned { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mlc__cover { max-width: 220px; }
  .spot { padding-right: clamp(22px, 4.5vw, 54px); }
  .spot__phones { min-height: 0; height: clamp(330px, 88vw, 520px); max-width: 440px; width: 100%; margin: 6px auto 0; }
  .spot__phones img { width: 50%; }
  .spot__phones img:nth-child(2) { right: 2%; }
  .edi .meta { padding-right: 0; }
  .lost__face { max-width: 200px; justify-self: start; order: -1; }
}
@media (max-width: 600px) {
  .credits a { flex-direction: column; gap: 2px; }
  .credits .dots { display: none; }
  .credits .role { text-align: left; font-size: 15px; }
  .credits .what small { display: block; margin: 4px 0 0; }
  .mini { grid-template-columns: minmax(0, 1fr); }
  .mini__art { border-right: 0; border-bottom: 2px solid var(--ink); aspect-ratio: 16 / 9; }
  .mini__art img { object-position: 50% 30%; }
  .mini--dark .mini__art img { padding: 4%; }
  .studio__head { flex-direction: column; gap: 14px; }
  .also { grid-template-columns: minmax(0, 1fr); }
  .spec div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .edi__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edi__facts b { font-size: 22px; }
  .lost__links { grid-template-columns: minmax(0, 1fr); }
  .lost__face { max-width: 130px; }
}
@media (max-width: 380px) {
  .pf-mark { font-size: 20px; }
  .pf-nav { gap: 0 6px !important; }
  .bar .pf-nav a { font-size: 14px; }
}
@media (max-width: 350px) {
  .bar .pf-nav a { font-size: 13px; }
  .proof li { padding: 14px 14px 16px; font-size: 15px; }
  .flow li { font-size: 13px; padding: 0 9px; }
  .spot__top { gap: 16px; }
  .spot__icon { width: 76px; }
}

/* tap targets: every nav link and the skip link are at least 44px */
.pf-nav a { min-width: 44px; justify-content: center; }
.skip { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Heavy Metal on the home page: a short teaser that leads to /heavymetal/. The site's card and paper, with the
   game's own colours from its key art (blood red, toxic green, black) and its logo lettering: bone-white capitals
   with diagonal sheen stripes, a heavy black outline and a red drop. ----------------------------------------------- */
:root { --hm-red: #9b1f14; --hm-red-ink: #8a1a10; --hm-green: #7ee03a; --hm-green-ink: #2d7012; --hm-black: #120a08; --hm-bone: #f4eedf; }
.hm-outline {
  text-transform: uppercase; letter-spacing: .02em; color: transparent;
  background: repeating-linear-gradient(118deg, var(--hm-bone) 0 16px, #cfc5ae 16px 22px); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(3px 0 0 #000) drop-shadow(-3px 0 0 #000) drop-shadow(0 3px 0 #000) drop-shadow(0 -3px 0 #000) drop-shadow(5px 6px 0 var(--hm-red));
}
.hm-band .block__head { margin-bottom: clamp(22px, 3vw, 32px); }
.hm-teaser {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 10px 10px 0 var(--hm-red);
}
.hm-teaser__art { display: block; border-right: 2px solid var(--ink); background: var(--ink); }
.hm-teaser__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.hm-teaser__art:hover img { transform: scale(1.03); }
.hm-teaser__stamp { position: absolute; top: clamp(12px, 2vw, 20px); left: clamp(12px, 2vw, 20px); transform: rotate(-4deg); color: var(--hm-green); border-color: var(--hm-green); background: var(--hm-black); }
.hm-teaser__body { padding: clamp(22px, 3.6vw, 40px); display: flex; flex-direction: column; align-items: flex-start; }
.hm-teaser h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.06; margin-bottom: 12px; }
.hm-teaser p { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin: 0; }
.hm-facts { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.hm-facts li { background: var(--cream); border: 2px solid var(--ink); border-radius: 14px; padding: 10px 10px; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.hm-facts b { display: block; font: 800 20px/1 var(--display); color: var(--hm-red-ink); margin-bottom: 5px; white-space: nowrap; }
.hm-teaser .btn { margin-top: auto; box-shadow: 4px 4px 0 var(--hm-red); }
.hm-teaser .btn:hover { box-shadow: 6px 6px 0 var(--hm-red); }
.hm-teaser h3 { text-transform: none; }
@media (max-width: 860px) {
  .hm-teaser { grid-template-columns: minmax(0, 1fr); }
  .hm-teaser__art { border-right: 0; border-bottom: 2px solid var(--ink); aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) { .hm-outline { filter: drop-shadow(2px 0 0 #000) drop-shadow(-2px 0 0 #000) drop-shadow(0 2px 0 #000) drop-shadow(0 -2px 0 #000) drop-shadow(3px 4px 0 var(--hm-red)); } }
@media (max-width: 420px) { .hm-facts { grid-template-columns: minmax(0, 1fr); } .hm-facts li { display: flex; gap: 10px; align-items: baseline; } .hm-facts b { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .hm-teaser__art img { transition: none; } }

/* the Heavy Metal title sits on a black plate, like the logo on its key art */
.hm-plate { display: inline-block; background: #000; border: 2px solid var(--ink); border-radius: 22px; padding: .14em .32em .1em .26em; box-shadow: 8px 8px 0 var(--hm-red); }
