/* Brodie Roche's card, rebuilt 3 Oct 2026 from the approved "build log" design.
   Software first: a terminal that types who he is, command buttons, a "now building" strip,
   phones and laptops to swipe through, then the photographs. The brand (paper, ink, one blue,
   soft upright Fraunces, Geist, JetBrains Mono) is set here directly; tokens match ../../_brand. */
:root{--paper:#F7F6F3;--deep:#EFEDE8;--ink:#161513;--ink2:#5C5850;--lab:#726D64;--blue:#2733BE;--hair:rgba(22,21,19,.1)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 Geist,sans-serif;-webkit-font-smoothing:antialiased}
.mono{font:500 11px/1.4 "JetBrains Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--lab)}
.f{font-family:Fraunces;font-weight:460;font-variation-settings:"SOFT" 60;letter-spacing:-.015em}
.i{width:22px;height:22px}.logo{height:15px;width:auto;display:block}a{color:inherit;text-decoration:none}
body{background:var(--paper) radial-gradient(rgba(22,21,19,.13) 1px,transparent 1.2px) 0 0/18px 18px}
.top{padding:26px 24px 0;display:flex;justify-content:space-between;align-items:center}
.term{margin:26px 24px 0;background:var(--ink);color:#e9e7e2;border-radius:14px;padding:14px 16px 16px;font:13px/1.7 "JetBrains Mono";box-shadow:0 20px 40px -24px rgba(0,0,0,.6)}
.term .bar{display:flex;gap:6px;margin-bottom:10px}.term .bar i{width:9px;height:9px;border-radius:50%;background:#3a3935}
.term .g{color:#8d887e}.tw{position:relative}.tw .ghost{visibility:hidden}.tw #tl{position:absolute;inset:0}.term .t{white-space:normal}.cur{display:inline-block;width:8px;height:15px;background:#F7F6F3;vertical-align:-3px;animation:b 1s steps(1) infinite}@keyframes b{50%{opacity:0}}
h1{margin:26px 24px 6px;font-size:clamp(40px,12.4vw,58px);line-height:1;white-space:nowrap}.role{margin:0 24px;color:var(--ink2)}
.cmds{margin:26px 24px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cmd{background:#fff;border:1px solid var(--hair);border-radius:12px;padding:14px;font:500 13px "JetBrains Mono";display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 0 rgba(22,21,19,.06)}
.cmd b{color:var(--blue);font-weight:500}.cmd.big{grid-column:1/-1;background:var(--ink);color:var(--paper);padding:18px;font-size:14px}.cmd.big b{color:#F7F6F3}
.tick{margin:30px 0 0;border-block:1px solid rgba(22,21,19,.18);background:var(--paper);overflow:hidden;white-space:nowrap;font:500 12px "JetBrains Mono";letter-spacing:.1em;text-transform:uppercase;padding:11px 0}
.tick span{display:inline-block;padding-left:24px;animation:tk 22s linear infinite}@keyframes tk{to{transform:translateX(-50%)}}.tick b{color:var(--blue)}
.peekhead{margin:34px 24px 12px;display:flex;justify-content:space-between}.swipe{color:var(--blue)}.peek{padding:0 24px 6px;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 24px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.peek::-webkit-scrollbar{display:none}.peek figure{scroll-snap-align:start}.dots{display:flex;gap:6px;justify-content:center;margin-top:14px}.dots i{width:6px;height:6px;border-radius:50%;background:rgba(22,21,19,.2);transition:all .3s}#pics figure{width:84%}#pics img{border:0;box-shadow:none;border-radius:6px;aspect-ratio:4/5;object-fit:cover}.dots i.on{background:var(--blue);width:18px;border-radius:3px}
.peek figure{margin:0;flex:none;width:62%;}.peek img{width:100%;border-radius:22px;border:6px solid var(--ink);display:block;box-shadow:0 24px 40px -26px rgba(0,0,0,.5)}
.peek figcaption{margin-top:10px}
.shot{margin:34px 24px 0;display:flex;gap:12px;align-items:flex-end}.shot{flex-direction:column;align-items:flex-start}.shot img{width:100%;display:block;border-radius:4px;box-shadow:0 16px 30px -18px rgba(0,0,0,.5)}.shot p{margin:0 0 6px;font-size:14px;color:var(--ink2)}
footer{margin-top:40px;padding:26px 24px 40px;border-top:1px solid rgba(22,21,19,.18)}

/* iPhone 15-style frame: titanium edge, black bezel, Dynamic Island, status bar */
#peek figure.ph{width:58%}
.iphone{position:relative;border-radius:15%/7%;padding:3.2%;background:#1b1b1d;box-shadow:inset 0 0 0 1.5px #5d5d62,inset 0 0 0 3px #2a2a2d,0 26px 40px -24px rgba(0,0,0,.55)}
.scr{position:relative;border-radius:12.5%/5.8%;overflow:hidden;aspect-ratio:390/844}
.scr img{position:absolute;left:0;right:0;bottom:0;width:100%;height:auto;border:0;border-radius:0;box-shadow:none;display:block}
.scr{container-type:inline-size}
.scr img.full{top:0;bottom:auto;height:100%;object-fit:cover}
.scr .sb{text-shadow:none}
/* Status bar at iPhone 15 proportions (393pt wide): time 17pt semibold, icons about 12pt tall,
   island 126 x 37pt sitting 11pt down. Everything is a share of the screen width (cqw) so it holds
   at any size; the time and the icons are each centred in the space beside the island. */
.sb{position:absolute;top:0;left:0;right:0;height:calc(11cqw * 59 / 393 * 393 / 100);display:grid;grid-template-columns:1fr 32cqw 1fr;align-items:center;z-index:2}
.sb{height:15cqw}
.sb-t{grid-column:1;justify-self:center;font:600 4.3cqw/1 -apple-system,"SF Pro Text",Geist,sans-serif;letter-spacing:-.02em;padding-left:2cqw}
.sb-i{grid-column:3;justify-self:center;display:flex;gap:1.5cqw;align-items:center;padding-right:2cqw}
.sb-i svg{height:2.9cqw;width:auto;fill:currentColor}.sb-i svg:last-child{height:3.2cqw}
.island{position:absolute;top:2.8cqw;left:50%;transform:translateX(-50%);width:32cqw;height:9.4cqw;background:#000;border-radius:5cqw;z-index:3}
/* MacBook frame */
#laps figure.lp{width:86%;flex:none;margin:0;scroll-snap-align:start}
.mac .lid{position:relative;background:#111;border-radius:12px 12px 0 0;padding:2.6% 2.6% 3.2%;box-shadow:inset 0 0 0 1.5px #3b3b3e}
.mac .lid img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border:0;border-radius:2px;box-shadow:none}
.mac .cam{position:absolute;top:1%;left:50%;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#2c2c30}
.mac .base{position:relative;height:12px;margin:0 -6%;background:linear-gradient(#d9dadc,#a9aaae);border-radius:0 0 14px 14px/0 0 10px 10px;box-shadow:0 18px 26px -18px rgba(0,0,0,.6)}
.mac .base i{position:absolute;top:0;left:50%;width:16%;height:5px;margin-left:-8%;background:#9c9da1;border-radius:0 0 6px 6px}
.laps{padding-bottom:22px}

/* buttons rendered as <button> look the same as the links */
button.cmd{width:100%;border:1px solid var(--hair);cursor:pointer;color:inherit;text-align:left}
.cmd{color:var(--ink)}a.cmd:active,button.cmd:active{transform:translateY(1px)}
:root{--ink-3:#9A958A;--font-display:Fraunces,Georgia,serif;--font-body:Geist,sans-serif}
/* --- The QR sheet (carried over) --- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 21, 19, .55);
}

.sheet-panel {
  position: relative;
  width: min(360px, 100%);
  padding: 34px 26px 28px;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: 0 24px 60px -12px rgba(22, 21, 19, .45);
  text-align: center;
}

.sheet-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: var(--ink-3);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
}

.sheet[hidden] { display: none; }
.sheet-panel img { width: min(260px, 72vw); height: auto; margin: 0 auto 20px; }
.sheet-close svg { width: 20px; height: 20px; }
.sheet-note { margin: 0 0 18px; font-size: 13px; color: var(--ink-3); }
.sheet-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" var(--display-soft);
  font-weight: 460;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* On a laptop (4 Oct 2026): the card stays a phone-width column in the middle of the screen, and the
   swipe rows shrink inside it, so a phone, a laptop or a photo never runs past the bottom of the window. */
@media (min-width: 760px) {
  body { max-width: 640px; margin: 0 auto; }
  #peek figure.ph { width: 40%; }
  #laps figure.lp { width: 78%; }
  #pics figure { width: 56%; }
}
