/* Shared styles for the simple text pages (About, Contact, Privacy, Request a toy). */
:root { --focus: var(--ink);
  --bg: #F4F5F7; --surface: #FFFFFF; --ink: #131417; --muted: #5D626B; --line: rgba(19, 20, 23, .08);
  --accent: #FFD23F;
  --shadow: 0 1px 0 rgba(19, 20, 23, .05), 0 24px 48px -28px rgba(19, 20, 23, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --focus: var(--accent); --bg: #0F1012; --surface: #18191C; --ink: #F1F1EF; --muted: #9CA1A9; --line: rgba(255, 255, 255, .08);
    --shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 24px 48px -28px rgba(0, 0, 0, .8); }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
h1, h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }

.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.logo svg { width: 32px; height: 32px; flex: none; }
/* the collective mark: each shape plays in turn on load and on hover */
.pcm .s { fill: var(--ink); } .pcm .c { fill: var(--accent); }
.pcm .sq, .pcm .ci, .pcm .qu, .pcm .ar { transform-box: fill-box; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.pcm .sq, .pcm .ci { transform-origin: center; } .pcm .qu { transform-origin: 0 100%; } .pcm .ar { transform-origin: 50% 100%; }
.logo:hover .pcm .sq { transform: rotate(-14deg); }
.logo:hover .pcm .ci { transform: translateY(-22%); transition-delay: .06s; }
.logo:hover .pcm .qu { transform: rotate(-12deg); transition-delay: .12s; }
.logo:hover .pcm .ar { transform: scale(1.08, .78); transition-delay: .18s; }
.pcm.intro .sq { animation: pc-sq 1.1s .3s cubic-bezier(.34, 1.56, .64, 1) both; }
.pcm.intro .ci { animation: pc-ci 1.1s .45s cubic-bezier(.34, 1.56, .64, 1) both; }
.pcm.intro .qu { animation: pc-qu 1.1s .6s cubic-bezier(.34, 1.56, .64, 1) both; }
.pcm.intro .ar { animation: pc-ar 1.1s .75s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes pc-sq { 40% { transform: rotate(-14deg); } }
@keyframes pc-ci { 40% { transform: translateY(-22%); } }
@keyframes pc-qu { 40% { transform: rotate(-12deg); } }
@keyframes pc-ar { 40% { transform: scale(1.08, .78); } }
@media (prefers-reduced-motion: reduce) { .pcm * { animation: none !important; transition: none !important; } }
nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
nav ul { display: flex; gap: 6px; list-style: none; }
nav ul a { display: block; padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
nav ul a:hover, nav ul a[aria-current] { background: var(--line); color: var(--ink); }

.page { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding: 56px 0 72px; align-items: start; }
.page h1 { font-size: clamp(44px, 5.4vw, 76px); }
.page .lede { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 30ch; }
.prose { background: var(--surface); border-radius: 28px; padding: 36px 40px; box-shadow: var(--shadow); }
.prose h2 { font-size: 26px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); max-width: 64ch; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.small { font-size: 14px; color: var(--muted); margin-top: 24px; }

.mail { display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 4px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transition: transform .2s var(--ease); white-space: nowrap; }
.mail:active { transform: scale(.98); }
.mail i { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #131417; display: grid; place-items: center; font-style: normal; flex: none; }

/* request form */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field small { font-size: 14px; color: var(--muted); }
.form select, .form textarea, .form input[type=email] { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 0; border-radius: 14px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--line); outline: none; transition: box-shadow .2s var(--ease); }
.form textarea { resize: vertical; min-height: 140px; }
.form select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.form select:focus, .form textarea:focus, .form input:focus { box-shadow: inset 0 0 0 2px var(--focus); }
.form ::placeholder { color: var(--muted); opacity: .75; }
.send { all: unset; cursor: pointer; justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; transition: transform .2s var(--ease), opacity .2s; }
.send:active { transform: scale(.98); }
.send:disabled { opacity: .5; cursor: default; }
.send:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.send i { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #131417; display: grid; place-items: center; font-style: normal; }
.form-msg { min-height: 1.5em; color: var(--muted); font-size: 15px; }
.thanks h2 { margin-top: 0; }

footer { padding: 24px 0 56px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 15px; }
footer ul { display: flex; gap: 22px; list-style: none; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .prose { padding: 26px 22px; border-radius: 22px; }
}
@media (max-width: 640px) { nav { position: relative; flex-wrap: wrap; height: auto; padding: 18px 0 4px; row-gap: 12px; } nav ul { width: calc(100% + 24px); margin: 0 -12px; overflow-x: auto; scrollbar-width: none; } nav ul::-webkit-scrollbar { display: none; } nav ul a { padding: 8px 12px; font-size: 14px; white-space: nowrap; } nav ul li:last-child { position: absolute; top: 16px; right: -12px; } /* phones: toys get their own row, About stays top right */ .mail { font-size: 14px; padding-left: 16px; gap: 8px; } .mail i { width: 32px; height: 32px; } }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transition: top .2s; } .skip:focus { top: 12px; outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; } /* keyboard users can jump past the nav */
