/* ParkBar pages. Loaded only by /parkbar/, so nothing here reaches the
   home page; the tokens and type follow styles/main.css. */
:root {
    --paper: #fff;
    --ink: #111110;
    --quiet: #8c8c88;
    --frame: #f0f0ef;
    --rule: #e4e4e1;

    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2, .8, .25, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #0e0e0d;
        --ink: #f2f2ef;
        --frame: #1b1b19;
        --rule: #262624;
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--paper);
    color-scheme: light dark;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    letter-spacing: -.006em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--ink);
    color: var(--paper);
}

:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
}

.page {
    width: min(100%, 40rem);
    margin: 0 auto;
    padding: clamp(1.25rem, 5vw, 3rem) 1rem clamp(3rem, 8vw, 5rem);
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
    text-decoration-color: var(--quiet);
    transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}

a:hover {
    text-decoration-color: currentColor;
}

/* The small voice: back link, language switch, dates. */
.bar,
.stamp {
    font-family: var(--mono);
    font-size: .75rem;
    letter-spacing: .02em;
    color: var(--quiet);
}

.bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 9vw, 4.5rem);
}

.bar a {
    color: var(--quiet);
    text-decoration-color: transparent;
}

.bar a:hover,
.bar a[aria-current="true"] {
    color: var(--ink);
}

.bar a:hover {
    text-decoration-color: currentColor;
}

.lang {
    display: flex;
    gap: 1rem;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero img {
    flex: none;
    width: 4rem;
    height: 4rem;
    /* the iOS icon outline: continuous corners, not a plain radius */
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cpath%20d%3D%22M100.0%2050.0%20L100.0%2063.1%20L100.0%2067.2%20L99.9%2070.3%20L99.8%2072.7%20L99.7%2074.8%20L99.6%2076.7%20L99.4%2078.3%20L99.2%2079.9%20L99.0%2081.3%20L98.8%2082.6%20L98.5%2083.8%20L98.2%2084.9%20L97.9%2086.0%20L97.6%2086.9%20L97.2%2087.9%20L96.8%2088.8%20L96.4%2089.6%20L95.9%2090.4%20L95.5%2091.2%20L94.9%2091.9%20L94.4%2092.6%20L93.8%2093.2%20L93.2%2093.8%20L92.6%2094.4%20L91.9%2094.9%20L91.2%2095.5%20L90.4%2095.9%20L89.6%2096.4%20L88.8%2096.8%20L87.9%2097.2%20L86.9%2097.6%20L86.0%2097.9%20L84.9%2098.2%20L83.8%2098.5%20L82.6%2098.8%20L81.3%2099.0%20L79.9%2099.2%20L78.3%2099.4%20L76.7%2099.6%20L74.8%2099.7%20L72.7%2099.8%20L70.3%2099.9%20L67.2%20100.0%20L63.1%20100.0%20L50.0%20100.0%20L36.9%20100.0%20L32.8%20100.0%20L29.7%2099.9%20L27.3%2099.8%20L25.2%2099.7%20L23.3%2099.6%20L21.7%2099.4%20L20.1%2099.2%20L18.7%2099.0%20L17.4%2098.8%20L16.2%2098.5%20L15.1%2098.2%20L14.0%2097.9%20L13.1%2097.6%20L12.1%2097.2%20L11.2%2096.8%20L10.4%2096.4%20L9.6%2095.9%20L8.8%2095.5%20L8.1%2094.9%20L7.4%2094.4%20L6.8%2093.8%20L6.2%2093.2%20L5.6%2092.6%20L5.1%2091.9%20L4.5%2091.2%20L4.1%2090.4%20L3.6%2089.6%20L3.2%2088.8%20L2.8%2087.9%20L2.4%2086.9%20L2.1%2086.0%20L1.8%2084.9%20L1.5%2083.8%20L1.2%2082.6%20L1.0%2081.3%20L0.8%2079.9%20L0.6%2078.3%20L0.4%2076.7%20L0.3%2074.8%20L0.2%2072.7%20L0.1%2070.3%20L0.0%2067.2%20L0.0%2063.1%20L0.0%2050.0%20L0.0%2036.9%20L0.0%2032.8%20L0.1%2029.7%20L0.2%2027.3%20L0.3%2025.2%20L0.4%2023.3%20L0.6%2021.7%20L0.8%2020.1%20L1.0%2018.7%20L1.2%2017.4%20L1.5%2016.2%20L1.8%2015.1%20L2.1%2014.0%20L2.4%2013.1%20L2.8%2012.1%20L3.2%2011.2%20L3.6%2010.4%20L4.1%209.6%20L4.5%208.8%20L5.1%208.1%20L5.6%207.4%20L6.2%206.8%20L6.8%206.2%20L7.4%205.6%20L8.1%205.1%20L8.8%204.5%20L9.6%204.1%20L10.4%203.6%20L11.2%203.2%20L12.1%202.8%20L13.1%202.4%20L14.0%202.1%20L15.1%201.8%20L16.2%201.5%20L17.4%201.2%20L18.7%201.0%20L20.1%200.8%20L21.7%200.6%20L23.3%200.4%20L25.2%200.3%20L27.3%200.2%20L29.7%200.1%20L32.8%200.0%20L36.9%200.0%20L50.0%200.0%20L63.1%200.0%20L67.2%200.0%20L70.3%200.1%20L72.7%200.2%20L74.8%200.3%20L76.7%200.4%20L78.3%200.6%20L79.9%200.8%20L81.3%201.0%20L82.6%201.2%20L83.8%201.5%20L84.9%201.8%20L86.0%202.1%20L86.9%202.4%20L87.9%202.8%20L88.8%203.2%20L89.6%203.6%20L90.4%204.1%20L91.2%204.5%20L91.9%205.1%20L92.6%205.6%20L93.2%206.2%20L93.8%206.8%20L94.4%207.4%20L94.9%208.1%20L95.5%208.8%20L95.9%209.6%20L96.4%2010.4%20L96.8%2011.2%20L97.2%2012.1%20L97.6%2013.1%20L97.9%2014.0%20L98.2%2015.1%20L98.5%2016.2%20L98.8%2017.4%20L99.0%2018.7%20L99.2%2020.1%20L99.4%2021.7%20L99.6%2023.3%20L99.7%2025.2%20L99.8%2027.3%20L99.9%2029.7%20L100.0%2032.8%20L100.0%2036.9Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cpath%20d%3D%22M100.0%2050.0%20L100.0%2063.1%20L100.0%2067.2%20L99.9%2070.3%20L99.8%2072.7%20L99.7%2074.8%20L99.6%2076.7%20L99.4%2078.3%20L99.2%2079.9%20L99.0%2081.3%20L98.8%2082.6%20L98.5%2083.8%20L98.2%2084.9%20L97.9%2086.0%20L97.6%2086.9%20L97.2%2087.9%20L96.8%2088.8%20L96.4%2089.6%20L95.9%2090.4%20L95.5%2091.2%20L94.9%2091.9%20L94.4%2092.6%20L93.8%2093.2%20L93.2%2093.8%20L92.6%2094.4%20L91.9%2094.9%20L91.2%2095.5%20L90.4%2095.9%20L89.6%2096.4%20L88.8%2096.8%20L87.9%2097.2%20L86.9%2097.6%20L86.0%2097.9%20L84.9%2098.2%20L83.8%2098.5%20L82.6%2098.8%20L81.3%2099.0%20L79.9%2099.2%20L78.3%2099.4%20L76.7%2099.6%20L74.8%2099.7%20L72.7%2099.8%20L70.3%2099.9%20L67.2%20100.0%20L63.1%20100.0%20L50.0%20100.0%20L36.9%20100.0%20L32.8%20100.0%20L29.7%2099.9%20L27.3%2099.8%20L25.2%2099.7%20L23.3%2099.6%20L21.7%2099.4%20L20.1%2099.2%20L18.7%2099.0%20L17.4%2098.8%20L16.2%2098.5%20L15.1%2098.2%20L14.0%2097.9%20L13.1%2097.6%20L12.1%2097.2%20L11.2%2096.8%20L10.4%2096.4%20L9.6%2095.9%20L8.8%2095.5%20L8.1%2094.9%20L7.4%2094.4%20L6.8%2093.8%20L6.2%2093.2%20L5.6%2092.6%20L5.1%2091.9%20L4.5%2091.2%20L4.1%2090.4%20L3.6%2089.6%20L3.2%2088.8%20L2.8%2087.9%20L2.4%2086.9%20L2.1%2086.0%20L1.8%2084.9%20L1.5%2083.8%20L1.2%2082.6%20L1.0%2081.3%20L0.8%2079.9%20L0.6%2078.3%20L0.4%2076.7%20L0.3%2074.8%20L0.2%2072.7%20L0.1%2070.3%20L0.0%2067.2%20L0.0%2063.1%20L0.0%2050.0%20L0.0%2036.9%20L0.0%2032.8%20L0.1%2029.7%20L0.2%2027.3%20L0.3%2025.2%20L0.4%2023.3%20L0.6%2021.7%20L0.8%2020.1%20L1.0%2018.7%20L1.2%2017.4%20L1.5%2016.2%20L1.8%2015.1%20L2.1%2014.0%20L2.4%2013.1%20L2.8%2012.1%20L3.2%2011.2%20L3.6%2010.4%20L4.1%209.6%20L4.5%208.8%20L5.1%208.1%20L5.6%207.4%20L6.2%206.8%20L6.8%206.2%20L7.4%205.6%20L8.1%205.1%20L8.8%204.5%20L9.6%204.1%20L10.4%203.6%20L11.2%203.2%20L12.1%202.8%20L13.1%202.4%20L14.0%202.1%20L15.1%201.8%20L16.2%201.5%20L17.4%201.2%20L18.7%201.0%20L20.1%200.8%20L21.7%200.6%20L23.3%200.4%20L25.2%200.3%20L27.3%200.2%20L29.7%200.1%20L32.8%200.0%20L36.9%200.0%20L50.0%200.0%20L63.1%200.0%20L67.2%200.0%20L70.3%200.1%20L72.7%200.2%20L74.8%200.3%20L76.7%200.4%20L78.3%200.6%20L79.9%200.8%20L81.3%201.0%20L82.6%201.2%20L83.8%201.5%20L84.9%201.8%20L86.0%202.1%20L86.9%202.4%20L87.9%202.8%20L88.8%203.2%20L89.6%203.6%20L90.4%204.1%20L91.2%204.5%20L91.9%205.1%20L92.6%205.6%20L93.2%206.2%20L93.8%206.8%20L94.4%207.4%20L94.9%208.1%20L95.5%208.8%20L95.9%209.6%20L96.4%2010.4%20L96.8%2011.2%20L97.2%2012.1%20L97.6%2013.1%20L97.9%2014.0%20L98.2%2015.1%20L98.5%2016.2%20L98.8%2017.4%20L99.0%2018.7%20L99.2%2020.1%20L99.4%2021.7%20L99.6%2023.3%20L99.7%2025.2%20L99.8%2027.3%20L99.9%2029.7%20L100.0%2032.8%20L100.0%2036.9Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
    background: var(--frame);
}

.hero__name {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.hero__role {
    display: block;
    font-weight: 500;
    color: var(--quiet);
}

h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
}

h2 {
    margin: 3rem 0 .5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -.022em;
}

h3 {
    margin: 1.5rem 0 .25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.015em;
}

p,
ul {
    margin: 0 0 .9rem;
}

ul {
    padding-left: 1.1rem;
}

li + li {
    margin-top: .5rem;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--quiet);
    font-weight: 500;
}

/* The App Store badge: Apple's own artwork, kept at its proportions. */
.store {
    margin: 1.5rem 0 0;
}

.store a {
    display: inline-block;
    line-height: 0;
}

.store img {
    width: auto;
    height: 2.75rem;
}

.quiet {
    color: var(--quiet);
}

.note {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--frame);
}

.note p:last-child {
    margin-bottom: 0;
}

.stamp {
    margin: 0 0 1.5rem;
}

hr {
    margin: 4rem 0;
    border: 0;
    border-top: 1px solid var(--rule);
}

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    font-size: .8125rem;
    color: var(--quiet);
}

footer a {
    color: var(--quiet);
}

footer a:hover {
    color: var(--ink);
}

/* One language at a time once the script has picked one; without it both
   stay on the page, one after the other. */
.show-en [data-lang="de"],
.show-de [data-lang="en"],
.show-en hr.lang-split,
.show-de hr.lang-split {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes fade {
        from { opacity: 0 }
        to { opacity: 1 }
    }

    .page > * {
        animation: fade .5s var(--ease) both;
    }

    .page > :nth-child(2) { animation-delay: .06s }
    .page > :nth-child(3) { animation-delay: .12s }
    .page > :nth-child(n+4) { animation-delay: .18s }
}

@media (max-width: 30rem) {
    body {
        font-size: .9375rem;
    }
}
