:root { color-scheme: light; }

html { scroll-padding-top: 7rem; }
body { overflow-x: hidden; }
::selection { background: #f04e7e; color: #20211e; }
* { scrollbar-color: #f04e7e #f8f0df; scrollbar-width: thin; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nav-toggle { display: none; }
.proof-strip > div > span[aria-hidden="true"] { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; background: var(--accent); font: 750 22px/1 DM, sans-serif; border-radius: 45% 31% 42% 23%; }
.proof-strip > div:nth-child(2) > span[aria-hidden="true"] { background: var(--acid); }
.mini-site > span { font-size: 7px; display: block; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 6px; text-align: center; }
.flash-invite { display: flex; min-height: 95px; flex-direction: column; justify-content: space-between; padding: 11px; background: var(--accent); color: var(--ink); }
.screen-button > span, .reminder button > span { font-size: 16px; }
.objects-spread { min-width: 0; margin: 0; background: var(--ink); }
.objects-spread img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.objects-spread figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 11px 16px; background: var(--ink); color: var(--paper); font-size: 9px; letter-spacing: .09em; }
.culture-aside { margin-top: 2rem; }
.culture-aside > p { font-size: 16px; }
.culture-aside .tiny { margin-top: 1rem; }
.portfolio-caption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.placement-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.placement-details > div { display: grid; gap: 2px; padding: 8px; background: #fff8ed; font-size: 8px; }
.placement-details b { font-size: 10px; }
.request-facts { display: grid; }
.dialog-done { border: 0; }

/* Legal pages */
.legal-page { background: var(--paper); }
.legal-header { position: sticky; top: 0; z-index: 20; height: 84px; border-bottom: 1px solid #20211e2a; }
.legal-header .brand { font-size: 38px; }
.legal-header .main-nav { margin-right: 0; }
.legal-shell { display: grid; grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); width: min(1180px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0 8rem; }
.legal-intro { position: sticky; top: 8.5rem; align-self: start; }
.legal-intro h1 { max-width: 7ch; font-size: clamp(4rem, 8vw, 7rem); font-variation-settings: 'wdth' 80, 'wght' 800; line-height: .9; }
.legal-intro p { margin-top: 1.5rem; font-size: 12px; line-height: 1.6; }
.legal-intro a { display: inline-block; margin-top: 2rem; font-weight: 700; font-size: 13px; }
.legal-content { max-width: 720px; }
.legal-content .lede { padding: 1.25rem 1.5rem; background: var(--acid); font-size: 1rem; line-height: 1.7; }
.legal-content section { padding: 2.7rem 0; border-bottom: 1px solid #20211e30; }
.legal-content h2 { margin-bottom: 1rem; font: 750 clamp(1.65rem, 3vw, 2.35rem)/1.1 Bricolage, sans-serif; letter-spacing: -.035em; }
.legal-content h3 { margin: 1.5rem 0 .5rem; font: 750 1.05rem/1.3 DM, sans-serif; letter-spacing: -.01em; }
.legal-content p, .legal-content li { max-width: 72ch; font-size: 15px; line-height: 1.8; }
.legal-content p + p, .legal-content ul + p { margin-top: 1rem; }
.legal-content ul { margin: .8rem 0 0; padding-left: 1.25rem; }
.legal-content a { font-weight: 650; text-decoration-thickness: 1px; }
.legal-footer { border-top: 1px solid #20211e2a; }

/* Error page */
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.error-page main { width: min(900px, 100%); }
.error-page .logo { margin-bottom: clamp(4rem, 12vh, 8rem); }
.error-code { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.error-page h1 { max-width: 9ch; margin: 1rem 0 1.5rem; font-size: clamp(4rem, 11vw, 8rem); font-variation-settings: 'wdth' 80, 'wght' 800; }
.error-page main > p:not(.error-code) { margin-bottom: 2rem; }

@media (max-width: 760px) {
  html { scroll-padding-top: 5rem; }
  .site-header { position: relative; height: 84px; padding-inline: 6%; }
  .site-header .brand { font-size: 36px; }
  .nav-toggle { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; margin-left: auto; border: 1px solid currentColor; background: transparent; }
  .nav-toggle span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; transition: transform .2s ease-out; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
  .site-header .main-nav { position: absolute; inset: 84px 0 auto; z-index: 30; display: none; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 14px 6% 22px; border-block: 1px solid currentColor; background: var(--paper); }
  .site-header .main-nav[data-open] { display: grid; }
  .site-header .main-nav a { padding: 12px 0; }
  .header-cta { display: none; }
  .hero { min-height: auto; }
  .proof-strip > div > span[aria-hidden="true"] { width: 39px; height: 39px; font-size: 17px; }
  .objects-spread img { min-height: 360px; }
  .objects-spread figcaption { align-items: flex-end; }
  .legal-header .main-nav { display: flex; position: static; padding: 0; border: 0; background: transparent; }
  .legal-header .main-nav a:first-child { display: none; }
  .legal-shell { display: block; width: min(100% - 2rem, 720px); padding-top: 3.5rem; }
  .legal-intro { position: static; margin-bottom: 4rem; }
  .legal-intro h1 { max-width: 8ch; }
  .legal-content section { padding: 2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
