/* granthussey.com. Direction A, "Shelf", in the "Whiteboard" look: a calm personal page with a shelf of apps, drawn with their own drills. System fonts, no outside requests. */
/* --c is an app's own color. --ct is that color made readable as text on the page's background. */
:root { color-scheme: light dark; --ink: #13202b; --paper: #ffffff; --ice: #f4f6f8; --soft: #5b6977; --rule: #dfe5ea; --c: #0b4fa8; --lift: 0%; --card: #ffffff; }
@media (prefers-color-scheme: dark) {
  /* Dark: the same page on a deep slate. App colors are lifted toward white so their links stay readable. */
  :root { --ink: #e8eef3; --paper: #0f161d; --ice: #18222c; --soft: #9aa8b5; --rule: #2b3945; --lift: 55%; --card: #151e27; }
  .icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
  .shots img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
}
body, .app, .soon { --ct: color-mix(in srgb, var(--c), #fff var(--lift)); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ct); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 0; }
nav .name { font-weight: 700; text-decoration: none; }
nav .links { display: flex; gap: 20px; font-size: 15px; }
nav .links a { text-decoration: none; color: var(--soft); }
nav .links a:hover { color: var(--ink); }
/* The homepage, "Whiteboard": the apps' own drill drawings are the site's art. */
/* The lead: the headline on the left, one real drill fanned out step by step on the right, like cards on a bench. */
.lead { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 44px 0 40px; }
.intro { max-width: 34em; }
.wrap > .intro { padding: 40px 0 28px; }
.wrap > .intro h1 { font-size: clamp(32px, 6vw, 42px); }
.intro h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
.intro h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, #3b82f6 38%, transparent) 62%); }
.intro p { margin: 0; font-size: 20px; color: var(--soft); }
.fan { position: relative; display: block; aspect-ratio: 10 / 7.2; text-decoration: none; }
.fan img { position: absolute; width: 44%; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(19, 32, 43, .12), 0 18px 40px -18px rgba(19, 32, 43, .45); transition: transform .2s ease; }
.fan img:nth-of-type(1) { left: 1%; top: 9%; transform: rotate(-5deg); }
.fan img:nth-of-type(2) { left: 28%; top: 0; transform: rotate(1.5deg); z-index: 1; }
.fan img:nth-of-type(3) { left: 55%; top: 10%; transform: rotate(6deg); }
.fan:hover img:nth-of-type(1) { transform: rotate(-7deg) translate(-4px, -4px); }
.fan:hover img:nth-of-type(2) { transform: rotate(1.5deg) translateY(-8px); }
.fan:hover img:nth-of-type(3) { transform: rotate(8deg) translate(4px, -4px); }
.fan .cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 14px; color: var(--soft); }
.fan .cap b { color: var(--ink); font-weight: 600; }
.fan:hover .cap b { text-decoration: underline; }
h2.label { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); margin: 28px 0 14px; font-weight: 700; }
/* Each app: a card with its color as the top edge and one of its drills, cropped and tilted, in the corner. The whole card opens the app's page. */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.app { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; min-height: 232px; padding: 22px 20px 18px; background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--rule); transition: transform .15s ease, box-shadow .15s ease; }
.app::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.app:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ct), 0 16px 30px -20px var(--c); }
.app:focus-within { box-shadow: inset 0 0 0 1.5px var(--ct); }
.app .art { position: absolute; right: -22px; top: 18px; width: 168px; height: 112px; object-fit: cover; object-position: var(--at, top); border-radius: 10px; transform: rotate(6deg); box-shadow: 0 0 0 1px var(--rule); background: #fff; transition: transform .2s ease; }
.app:hover .art { transform: rotate(4deg) translate(-3px, 2px); }
.icon { border-radius: 22.5%; display: block; box-shadow: 0 1px 3px rgba(19, 32, 43, .25); }
.app .pic { align-self: flex-start; position: relative; }
.app .icon { width: 60px; height: 60px; }
.app .title { display: block; margin-top: auto; padding-top: 30px; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-decoration: none; }
.app .title::after { content: ""; position: absolute; inset: 0; }
.app .line { display: block; font-size: 15px; color: var(--soft); }
.app .links { position: relative; font-size: 14px; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.app .links a { color: var(--ct); font-weight: 600; text-decoration: none; padding: 4px 0; }
.app .links a:hover { text-decoration: underline; }
.soon { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--rule); max-width: 640px; }
.soon .icon { width: 56px; height: 56px; }
.soon .title { display: block; font-weight: 700; } .soon .line { display: block; font-size: 15px; color: var(--soft); }
.soon .links { font-size: 14px; font-weight: 600; color: var(--ct); }
@media (max-width: 760px) { .lead { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 28px; } .fan { max-width: 440px; } }
@media (prefers-reduced-motion: reduce) { .app, .app .art, .fan img { transition: none; } .app:hover, .app:hover .art { transform: none; } .app:hover .art { transform: rotate(6deg); } }
/* The app in front: one wide panel in the app's own color, leading the homepage. Words on the left, pictures on the right. */
/* Its yellow, cream and light blue are the colors of the Skate Bud icon. */
.feature { --gold: #ffc93c; --cream: #fff6e2; --sky: #a9d4f5; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 32px; align-items: center; margin: 8px 0 0; padding: clamp(22px, 4vw, 44px); border-radius: 28px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c), #3b82f6 34%), transparent 60%), linear-gradient(165deg, color-mix(in srgb, var(--c), #fff 7%), var(--c) 50%, color-mix(in srgb, var(--c), #000 30%)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.feature .tag { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: #1c1503; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.feature .who { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; margin-bottom: 22px; }
.feature .icon { width: 76px; height: 76px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22), 0 10px 24px -10px rgba(0, 0, 0, .6); }
.feature h2 { margin: 0; font-size: clamp(34px, 6vw, 52px); line-height: 1; letter-spacing: -.03em; }
.feature .who p { margin: 6px 0 0; color: var(--sky); font-weight: 600; }
.feature p { margin: 0 0 10px; color: rgba(255, 255, 255, .86); max-width: 32em; }
.feature .ask { color: #fff; font-weight: 600; }
.feature .pains { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.feature .pains li { position: relative; padding-left: 22px; color: rgba(255, 255, 255, .86); }
.feature .pains li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.feature .answer { font-size: clamp(21px, 3vw, 26px); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; color: var(--cream); margin-bottom: 10px; text-wrap: balance; }
.feature .invite { margin-top: 18px; }
.feature .cta { display: inline-block; margin: 8px 0 0; padding: 12px 20px; border-radius: 999px; background: var(--cream); color: #0c2454; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); }
.feature .cta:hover { background: #fff; }
.feature a:focus-visible { outline-color: var(--gold); }
.feature .notes { list-style: none; margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; color: rgba(255, 255, 255, .7); }
/* The stand-in pictures: three phone frames, fanned a little, each a small drawing. */
.feature .pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.feature figure { margin: 0; }
.feature figure:nth-child(1) { transform: translateY(18px) rotate(-3deg); }
.feature figure:nth-child(3) { transform: translateY(18px) rotate(3deg); }
.feature svg { display: block; width: 100%; height: auto; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), 0 18px 30px -18px rgba(0, 0, 0, .7); }
.feature figcaption { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.feature .stand { grid-column: 1 / -1; margin: 22px 0 0; max-width: none; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .55); }
/* Skate Bud's live phone : beside the words, in a drawn phone body. skate/hero shows the bare
   iPhone app in a frame this narrow, laid out 402 wide and scaled to fit. The whole demo, Duo and all, is skate/demo. */
.feature .live-phone { display: grid; gap: 12px; justify-items: center; align-self: center; }
.feature .live { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--cream); }
.feature .live i { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
.feature .duo { position: relative; width: min(100%, 400px); padding: 9px; border-radius: 46px; background: #050d22; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2), 0 30px 50px -24px rgba(0, 0, 0, .85); }
.feature .duo iframe { display: block; width: 100%; height: auto; aspect-ratio: 402 / 720; max-height: 86vh; max-height: 86svh; border: 0; border-radius: 37px; background: #f3f4f6; color-scheme: light; }
.feature .live-more { margin: 0; max-width: 24em; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .62); }
.feature .live-more a { color: var(--cream); font-weight: 600; }
@media (max-width: 800px) { .feature .duo { width: min(100% + 24px, 420px); margin: 0 -12px; } }
.feature .ice { fill: rgba(169, 212, 245, .16); stroke: var(--sky); stroke-width: 1.2; }
.feature .ln { fill: none; stroke: var(--sky); stroke-width: 1; opacity: .55; }
.feature .pl { fill: rgba(255, 255, 255, .55); }
.feature .you { fill: var(--gold); }
.feature .ring { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 3 3; }
.feature .bar { fill: rgba(255, 255, 255, .16); }
.feature .cut { fill: var(--gold); }
.feature .chip { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.feature .trail { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 2 3; stroke-linecap: round; }
.feature .frame { fill: rgba(255, 201, 60, .1); }
.feature .tick { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; border-radius: 22px; } .feature .pics { max-width: 420px; } }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 40px; }
.cols p { margin: 0; color: var(--soft); }
footer { border-top: 1px solid var(--rule); margin-top: 48px; padding: 20px 0 28px; font-size: 14px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
footer a { color: var(--soft); }
footer .flinks { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* An app's own page */
.hero { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 32px 0 8px; }
.hero .icon { width: 96px; height: 96px; }
.hero h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 4px; }
.hero p { margin: 0; color: var(--soft); }
.acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 20px 0 8px; }
/* Apple's badge: its own artwork, unchanged, at least 40px tall, with clear space around it. */
.badge { display: inline-block; line-height: 0; margin: 4px 12px 4px 0; border-radius: 9px; }
.badge img { height: 48px; width: auto; display: block; }
.acts a.plain { font-size: 15px; color: var(--soft); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 8px; }
.shots picture { display: block; }
.shots img { width: 100%; height: auto; display: block; border-radius: 14px; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 40px; margin: 8px 0 0; padding: 0; list-style: none; }
.feats b { display: block; }
.feats span { color: var(--soft); font-size: 16px; }
.news { margin: 0; padding-left: 20px; columns: 2 300px; column-gap: 40px; color: var(--soft); font-size: 16px; }
.news li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 560px) {
  .shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -20px; padding-right: 20px; }
  .shots picture, .shots > img { scroll-snap-align: start; }
  .hero { grid-template-columns: 72px 1fr; gap: 14px; } .hero .icon { width: 72px; height: 72px; }
}

/* Help and privacy pages: the same words as always, in the site's look */
.crumb { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; text-decoration: none; font-weight: 600; color: var(--soft); }
.crumb:hover span { text-decoration: underline; }
.crumb .icon { width: 40px; height: 40px; }
.doc { max-width: 40em; padding: 12px 0 0; }
.doc h1 { font-size: clamp(28px, 5vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 12px; }
.doc h2 { font-size: 19px; line-height: 1.3; margin: 28px 0 6px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--ct); }
.doc .muted { color: var(--soft); font-size: 15px; }

/* Press kit */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 12px; }
.facts dt { color: var(--soft); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; box-shadow: 0 0 0 1px var(--rule); }

/* Ready-made feedback emails on a help page: quiet buttons */
.doc .btns { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 24px 0 0; }
.doc a.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; background: var(--ice); box-shadow: inset 0 0 0 1.5px var(--rule); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.doc a.btn:hover { box-shadow: inset 0 0 0 1.5px var(--ct); }
