@font-face {
  font-family: UnfoldSerifFallback;
  src: url('/assets/fonts/CrimsonText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: UnfoldSerifFallback;
  src: url('/assets/fonts/CrimsonText-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: UnfoldSansFallback;
  src: url('/assets/fonts/dm-sans-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #26221f;
  --muted: #696d69;
  --sage: #c4d2bb;
  --blush: #eacdcf;
  --mist: #c4d6de;
  --serif: 'Iowan Old Style', UnfoldSerifFallback, 'Palatino Linotype', serif;
  --sans: 'Avenir Next', UnfoldSansFallback, sans-serif;
  --selected-paper: #c4d2bb;
  --noise: url('/assets/grain.svg');
  --sheet: url('/assets/paper-sheet-real-v2.png');
  --ball: url('/assets/paper-ball-real-v2.png');
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: #fff var(--noise) repeat; color: var(--ink); font: 15px var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #4b6550; outline-offset: 7px; }
a:hover { color: #526547; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { font-weight: 400; }
::selection { background: var(--sage); color: var(--ink); }
.wrap { max-width: 1320px; width: calc(100% - 112px); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 14px 20px; background: white; }
.skip-link:focus { top: 20px; }
.site-header { height: 115px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; mix-blend-mode: multiply; }
.wordmark { display: flex; align-items: center; gap: 10px; font: 32px var(--serif); letter-spacing: -1px; }
.wordmark img { width: 35px; mix-blend-mode: multiply; filter: grayscale(1) contrast(12); }
.site-header nav { display: flex; gap: 37px; margin-left: 25px; font-size: 13px; }
.studio-link { font-size: 12px; }
.studio-link span { margin-left: 14px; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; padding-bottom: 80px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 13px; }
h1 { font: 400 clamp(58px, 5.2vw, 76px)/1.13 var(--serif); letter-spacing: -3px; margin: 0 0 31px; white-space: nowrap; }
h1 em { color: #637256; font-weight: 400; }
.hero-description { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 0 0 30px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; padding-bottom: 10px; border-bottom: 1px solid #5e6150; font-size: 15px; }
.text-link span { font-size: 19px; transition: transform .25s; }
.text-link:hover span { transform: translate(3px,-2px); }
.still-life { height: 560px; position: relative; margin-left: 20px; }
.photo-paper { position: relative; isolation: isolate; filter: drop-shadow(2px 4px 3px #25302b12); }
.photo-paper img { width: 100%; height: 100%; object-fit: fill; }
.photo-paper::after { content: ''; position: absolute; inset: 0; background: var(--sheet-color,#fff); mix-blend-mode: multiply; mask: var(--sheet) center/100% 100% no-repeat; -webkit-mask: var(--sheet) center/100% 100% no-repeat; pointer-events: none; }
.hero-sheet { --sheet-color: var(--sage); position: absolute; width: 320px; height: 420px; left: 20%; top: 80px; transform: rotate(-7deg); z-index: 3; }
.back-sheet { position: absolute; width: 310px; height: 410px; left: 21%; top: 90px; }
.sheet-blush { --sheet-color: var(--blush); transform: rotate(12deg); z-index: 1; }
.sheet-oat { --sheet-color: #ebdcc6; transform: rotate(3deg); z-index: 2; }
.paper-ball { position: relative; isolation: isolate; filter: drop-shadow(2px 5px 3px #25302b19); }
.paper-ball img { width: 100%; height: 100%; object-fit: contain; }
.paper-ball::after { content: ''; position: absolute; inset: 0; background: var(--ball-color,var(--selected-paper)); mix-blend-mode: multiply; mask: var(--ball) center/contain no-repeat; -webkit-mask: var(--ball) center/contain no-repeat; pointer-events: none; }
.still-life .paper-ball { position: absolute; z-index: 4; }
.ball-lavender { --ball-color: #d4cee4; width: 125px; height: 125px; top: -15px; left: 15%; transform: rotate(24deg); }
.ball-blue { --ball-color: #c4d6de; width: 165px; height: 165px; right: -5px; top: 380px; transform: rotate(-25deg); }
.ball-rose { --ball-color: #d4afb2; width: 85px; height: 85px; left: 0; top: 390px; transform: rotate(65deg); }
.capture { background: #fcfcfc var(--noise) repeat; padding: 100px 0; }
.room-layout { max-width: 1100px; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
h2 { font: 400 48px/1.15 var(--serif); letter-spacing: -1.7px; margin: 0 0 25px; }
.section-copy > p { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 0; }
.palette { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 30px; max-width: 430px; }
.color-swatch { border: 0; background: none; display: grid; place-items: center; width: 32px; height: 40px; padding: 3px; border-radius: 50%; }
.color-swatch::before { content: ''; width: 21px; height: 21px; background: var(--swatch); border: 1px solid #39332913; border-radius: 50%; outline: 1px solid transparent; outline-offset: 4px; transition: transform .2s; }
.color-swatch[aria-pressed=true]::before { outline-color: #6b6d5d; }
.color-swatch:hover::before { transform: scale(1.12); }
.paper-playground { display: flex; align-items: center; flex-direction: column; }
.unfold-demo { width: 360px; height: 410px; position: relative; border: 0; background: none; padding: 0; perspective: 900px; }
.demo-ball { position: absolute; inset: 55px 25px; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.unfold-demo:hover .demo-ball { transform: rotate(-8deg) scale(1.03); }
.demo-note { position: absolute; inset: 0; display: flex; align-items: center; text-align: left; transform: rotate(-4deg) scale(.35) rotateX(70deg); opacity: 0; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .35s; pointer-events: none; }
.demo-surface { --sheet-color: var(--selected-paper); position: absolute; inset: 0; }
.demo-quote { position: relative; z-index: 1; padding: 0 16%; font: 30px/1.4 var(--serif); }
.note-list { display: block; font: 18px/1.8 var(--sans); margin-top: 20px; }
.paper-playground[data-open=true] .demo-ball { transform: rotate(35deg) scale(.4); opacity: 0; }
.paper-playground[data-open=true] .demo-note { transform: rotate(-4deg) scale(1) rotateX(0); opacity: 1; }
.demo-hint { font-size: 12px; color: var(--muted); margin: 18px 0 0; }
.over-time { padding-top: 100px; padding-bottom: 110px; }
.time-heading { text-align: center; }
.time-heading > p { font-size: 15px; color: var(--muted); margin: 0; }
.journal-scene { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 13%; max-width: 1030px; margin: 55px auto 0; }
.journal-paper { position: relative; min-height: 500px; transform: rotate(-3deg); display: flex; align-items: center; }
.journal-surface { position: absolute; inset: 0; }
.journal-content { position: relative; z-index: 1; padding: 13% 11%; width: 100%; }
.journal-content h3 { font: 32px var(--serif); margin: 0 0 20px; letter-spacing: -.6px; }
.journal-row { display: flex; gap: 12px; align-items: center; padding: 13px 0; }
.mini-ball { width: 48px; height: 48px; flex-shrink: 0; position: relative; isolation: isolate; }
.mini-ball img { width: 100%; height: 100%; object-fit: contain; }
.mini-ball::after { content: ''; position: absolute; inset: 0; background: var(--tint); mix-blend-mode: multiply; mask: var(--ball) center/contain no-repeat; -webkit-mask: var(--ball) center/contain no-repeat; }
.tone-sage { --tint: var(--sage); }
.tone-rose { --tint: var(--blush); }
.tone-blue { --tint: var(--mist); }
.row-category { font-size: 10px; color: var(--muted); }
.journal-row p { font: 15px/1.5 var(--sans); margin: 4px 0 0; }
.time-notes > div { margin-bottom: 40px; }
.time-notes > div:last-child { margin-bottom: 0; }
.time-notes h3 { font: 27px var(--serif); letter-spacing: -.5px; margin: 0 0 12px; }
.time-notes p { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0; }
.site-footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }
.site-footer .wordmark { font-size: 27px; color: var(--ink); }
.site-footer > div { display: flex; gap: 26px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 72px); }
  h1 { font-size: 5.3vw; letter-spacing: -2px; }
  .still-life { margin-left: 0; height: 510px; }
  .hero-sheet { width: 260px; height: 360px; left: 16%; top: 80px; }
  .back-sheet { width: 250px; height: 350px; left: 16%; top: 88px; }
  .ball-blue { width: 130px; height: 130px; right: -15px; top: 365px; }
  .ball-rose { width: 75px; height: 75px; left: -1%; top: 355px; }
  .ball-lavender { top: -15px; left: 12%; width: 105px; height: 105px; }
  .room-layout { gap: 4%; }
  .color-swatch { width: 30px; }
  .journal-scene { gap: 9%; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 44px); }
  .site-header { height: 90px; }
  .site-header nav { display: none; }
  .wordmark { font-size: 28px; }
  .wordmark img { width: 29px; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 48px; padding-bottom: 45px; overflow: clip; }
  .hero-copy { text-align: center; width: 100%; padding: 0; }
  h1 { font-size: clamp(39px,8.5vw,61px); letter-spacing: -1.9px; margin-bottom: 24px; }
  .hero-description { font-size: 14px; margin-bottom: 26px; }
  .text-link { font-size: 14px; }
  .still-life { width: 420px; max-width: 100%; height: 475px; margin: 40px auto 0; }
  .hero-sheet { width: 260px; height: 350px; left: 22%; top: 65px; }
  .back-sheet { width: 250px; height: 340px; left: 23%; top: 73px; }
  .ball-lavender { width: 90px; height: 90px; top: -15px; left: 12%; }
  .ball-blue { width: 125px; height: 125px; top: 340px; right: -3px; }
  .ball-rose { top: 320px; left: 0; width: 75px; height: 75px; }
  .capture { padding: 68px 0; }
  .room-layout { display: flex; flex-direction: column; gap: 24px; }
  .section-copy { max-width: 420px; width: 100%; }
  h2 { font-size: 39px; letter-spacing: -1.3px; }
  .section-copy > p { font-size: 14px; }
  .palette { display: grid; grid-template-columns: repeat(6,44px); gap: 4px 8px; max-width: 304px; margin-top: 24px; }
  .color-swatch { width: 44px; height: 44px; }
  .paper-playground { width: 100%; }
  .unfold-demo { width: 340px; max-width: 100%; height: 390px; }
  .demo-quote { font-size: 28px; }
  .over-time { padding-top: 70px; padding-bottom: 65px; }
  .time-heading > p { font-size: 13px; }
  .journal-scene { grid-template-columns: 1fr; gap: 45px; max-width: 430px; margin-top: 35px; }
  .journal-paper { min-height: 440px; }
  .journal-content { padding-inline: 12%; }
  .journal-content h3 { font-size: 29px; }
  .journal-row { gap: 8px; padding: 11px 0; }
  .journal-row p { font-size: 13px; }
  .mini-ball { width: 40px; height: 40px; }
  .time-notes { padding-inline: 16px; }
  .time-notes > div { margin-bottom: 28px; }
  .time-notes h3 { font-size: 26px; }
  .time-notes p { font-size: 14px; }
  .site-footer { min-height: 100px; gap: 20px; font-size: 10px; }
  .site-footer > div { gap: 20px; }
  .site-footer .wordmark { font-size: 25px; }
}
@media (max-width: 380px) {
  h1 { font-size: 35px; letter-spacing: -1.7px; }
  .hero { padding-top: 35px; }
  .hero-sheet { left: 12%; width: 235px; }
  .back-sheet { left: 13%; width: 230px; }
  .ball-blue { right: 2px; }
  .palette { gap: 4px 2px; }
  .journal-paper { min-height: 415px; }
  .journal-content { padding-inline: 11%; }
  .journal-row p { font-size: 12px; }
  .site-footer > div { gap: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .8s both; }
  .still-life { animation: arrive 1s .12s both; }
  @keyframes arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
