/* Erubisu Studio - Static Compiled CSS */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/shippori-mincho-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/shippori-mincho-700.woff2') format('woff2');
}

:root {
  --color-background: #f6f3ec;
  --color-on-background: #1e221c;
  --color-surface: #f6f3ec;
  --color-on-surface: #1e221c;
  --color-surface-container-low: #ebe6db;
  --color-surface-container: #e2ddd2;
  --color-surface-container-high: #d8d3c8;
  --color-surface-container-highest: #cfc9bd;
  --color-on-surface-variant: #5c5f58;
  --color-outline-variant: #b7b3a8;
  --color-outline: #7a776e;
  --color-primary: #6a7b5c;
  --color-primary-dim: #556349;
  --color-on-primary: #f4f6ef;
  --color-primary-container: #cdd8bc;
  --color-on-primary-container: #3f4a36;
  --color-seal: #9c4034;
  --color-seal-dim: #7e3329;
  --color-on-seal: #f6f3ec;
  --font-headline: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif;
  --font-body: 'Manrope', 'Shippori Mincho', sans-serif;
  --font-label: 'Manrope', 'Shippori Mincho', sans-serif;
  --measure: 85vw;
  --portrait-size: 20vw;
  --radius-pill: 9999px;
}
html[lang="ja"] {
  --font-body: 'Shippori Mincho', serif;
  --font-label: 'Shippori Mincho', serif;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  flex-shrink: 0;
}

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
  background-color: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 1px solid var(--color-seal);
  outline-offset: 3px;
}
.hit-44 {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell {
  width: var(--measure);
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

button,
.control-pill {
  border-radius: var(--radius-pill);
}

/* Color utilities */
.bg-background { background-color: var(--color-background); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-highest { background-color: var(--color-surface-container-highest); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dim { background-color: var(--color-primary-dim); }
.bg-primary-container { background-color: var(--color-primary-container); }
.bg-seal { background-color: var(--color-seal); }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-800 { background-color: #1f2937; }
.bg-white { background-color: #ffffff; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.text-on-background { color: var(--color-on-background); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-on-primary { color: var(--color-on-primary); }
.text-on-primary-container { color: var(--color-on-primary-container); }
.text-on-seal { color: var(--color-on-seal); }
.text-primary { color: var(--color-primary); }
.text-seal { color: var(--color-seal); }

/* Font family & typography */
.font-headline { font-family: var(--font-headline); }
.font-body { font-family: var(--font-body); }
.font-label { font-family: var(--font-label); }
.antialiased { -webkit-font-smoothing: antialiased; }

::selection {
  background-color: var(--color-primary-container);
  color: var(--color-on-primary-container);
}

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[10px\] { font-size: 10px; }

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.05em\] { letter-spacing: 0.05em; }
.tracking-\[0\.08em\] { letter-spacing: 0.08em; }
.tracking-\[0\.1em\] { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Layout & Positioning */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-full { top: 100%; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.scale-95 { transform: scale(0.95); }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[200\] { z-index: 200; }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-\[1440px\] { max-width: 1440px; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[880px\] { max-width: 880px; }
.max-w-\[500px\] { max-width: 500px; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.w-\[90vw\] { width: 90vw; }
.w-\[110\%\] { width: 110%; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-\[320px\] { width: 320px; }
.h-\[320px\] { height: 320px; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-64 { width: 16rem; }
.h-64 { height: 16rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-1\/4 { width: 25%; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.-mt-20 { margin-top: -5rem; }
.-mr-20 { margin-right: -5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-24 { margin-bottom: 6rem; }
.mr-2 { margin-right: 0.5rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-12 { padding-bottom: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-\[5vw\] { padding-left: 5vw; padding-right: 5vw; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

/* Flex & Grid Systems */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-24 { gap: 6rem; }
.gap-32 { gap: 8rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.order-1 { order: 1; }
.order-2 { order: 2; }

/* Border radius */
.rounded { border-radius: 1rem; }
.rounded-lg { border-radius: 1.25rem; }
.rounded-xl { border-radius: 1.5rem; }
.rounded-2xl { border-radius: 1.75rem; }
.rounded-full { border-radius: 9999px; }
button,
.control-pill { border-radius: var(--radius-pill); }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-b-xl { border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-b-md { border-bottom-left-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.rounded-sm { border-radius: 0.125rem; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-\[8px\] { border-width: 8px; }
.border-\[12px\] { border-width: 12px; }
.border-surface-container { border-color: var(--color-surface-container); }
.border-outline { border-color: var(--color-outline); }
.border-outline-variant\/20 { border-color: color-mix(in srgb, var(--color-outline-variant) 35%, transparent); }
.border-outline-variant\/30 { border-color: color-mix(in srgb, var(--color-outline-variant) 45%, transparent); }
.border-b { border-bottom-width: 1px; }
.border-gray-400 { border-color: #9ca3af; }
.border-gray-800 { border-color: #1f2937; }

/* Visual effects & shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-\[0_20px_40px_rgba\(46\,52\,45\,0\.06\)\] { box-shadow: 0 20px 40px rgba(46, 52, 45, 0.06); }
.shadow-\[0_20px_40px_rgba\(46\,52\,45\,0\.04\)\] { box-shadow: 0 20px 40px rgba(46, 52, 45, 0.04); }
.shadow-\[0_24px_48px_rgba\(46\,52\,45\,0\.12\)\] { box-shadow: 0 24px 48px rgba(46, 52, 45, 0.12); }
.shadow-\[0_24px_48px_rgba\(0\,0\,0\,0\.2\)\] { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2); }

.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.blur-3xl { filter: blur(64px); }
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.object-top { object-position: top; }
.overflow-hidden { overflow: hidden; }
.select-all { user-select: all; }
.cursor-pointer { cursor: pointer; }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-opacity { transition-property: opacity; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Hover effects */
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:bg-primary-dim:hover { background-color: var(--color-primary-dim); }
.hover\:bg-seal-dim:hover { background-color: var(--color-seal-dim); }
.hover\:bg-surface-container:hover { background-color: var(--color-surface-container); }
.hover\:text-on-surface:hover { color: var(--color-on-surface); }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-seal:hover { color: var(--color-seal); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-\[1\.01\] { transform: scale(1.01); }

/* Breakpoints */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-center { justify-content: center; }
  .sm\:w-auto { width: auto; }
  .sm\:gap-8 { gap: 2rem; }
}

@media (min-width: 768px) {
  :root { --measure: 70vw; }
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:w-\[460px\] { width: 460px; }
  .md\:h-\[460px\] { height: 460px; }
  .md\:h-6 { height: 1.5rem; }
  .md\:border-\[12px\] { border-width: 12px; }
  .md\:rounded-t-2xl { border-top-left-radius: 1rem; border-top-right-radius: 1rem; }
  .md\:rounded { border-radius: 0.25rem; }
  .md\:ml-12 { margin-left: 3rem; }
  .md\:ml-16 { margin-left: 4rem; }
  .md\:p-16 { padding: 4rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-end { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:w-\[540px\] { width: 540px; }
  .lg\:h-\[540px\] { height: 540px; }
  .lg\:mt-12 { margin-top: 3rem; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:pl-12 { padding-left: 3rem; }
  .lg\:pr-12 { padding-right: 3rem; }
}

.site-nav {
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-outline-variant);
}
[data-lang-switch][aria-pressed="true"] {
  color: var(--color-on-background);
  box-shadow: inset 0 -1px 0 currentColor;
}
.step-num {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  color: var(--color-on-surface-variant);
  letter-spacing: 0.08em;
}
.work-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 1.5rem;
}
.portrait {
  width: var(--portrait-size);
  max-width: var(--portrait-size);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem;
}
.text-link {
  font-family: var(--font-label);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}
.site-footer {
  background-color: var(--color-surface-container-low);
  border-top: 1px solid var(--color-outline-variant);
}

/* Privacy / legal page — after resets so list + spacing actually apply */
.legal-page {
  padding-top: 8.5rem;
  padding-bottom: 8rem;
}
.legal-page .legal-sheet {
  padding: 0;
}
.legal-page h2 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--color-on-surface);
  margin: 2.5rem 0 0.75rem;
}
.legal-page h2:first-of-type {
  margin-top: 2rem;
}
.legal-page p {
  font-family: var(--font-body);
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.legal-page li {
  font-family: var(--font-body);
  color: var(--color-on-surface-variant);
  line-height: 1.7;
  margin: 0.75rem 0;
}
.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.legal-page a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
/* GPU-Accelerated Scroll Animations & Micro-interactions */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sakura-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sakura-layer[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .sakura-layer { display: none !important; }
}

.site-guard,
.site-guard body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.site-guard img {
  -webkit-user-drag: none;
}

.pinboard {
  --postit-size: 9.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.25rem;
  align-items: flex-start;
  max-width: 46rem;
}
.postit {
  position: relative;
  display: block;
  width: var(--postit-size);
  flex: 0 0 var(--postit-size);
  margin: 0;
  padding: 0.5rem 0.5rem 1.15rem;
  border: 0;
  border-radius: 1px 1px 2px 1px;
  background: var(--paper, #f3ead6);
  color: inherit;
  cursor: zoom-in;
  transform: rotate(var(--rot, -2deg)) translateY(var(--shift, 0px));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 16px rgba(30, 34, 28, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
}
.postit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 7px,
    rgba(30, 34, 28, 0.04) 7px,
    rgba(30, 34, 28, 0.04) 8px
  );
}
.postit__tape {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 42%;
  height: 12px;
  transform: translateX(-50%) rotate(var(--tape, -1.5deg));
  background: color-mix(in srgb, var(--color-primary-container) 62%, transparent);
  box-shadow: 0 1px 2px rgba(30, 34, 28, 0.12);
}
.postit img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  pointer-events: none;
}
.postit:hover,
.postit:focus-visible {
  z-index: 2;
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 14px 28px rgba(30, 34, 28, 0.16);
}
.postit--cow { --rot: -3.2deg; --shift: 8px; --tape: 2deg; --paper: #f3ead6; }
.postit--swan { --rot: 4.2deg; --shift: 18px; --tape: -3deg; --paper: #e7eedc; }
.postit--goldfinch { --rot: -2.6deg; --shift: 4px; --tape: 1deg; --paper: #efe4d4; }
.postit--flower-green { --rot: 2.8deg; --shift: 14px; --tape: -2deg; --paper: #e9efe3; }
.postit--flower-magenta { --rot: -4deg; --shift: 0px; --tape: 3deg; --paper: #f2e4e0; }
.postit--bubbles { --rot: 2.2deg; --shift: 12px; --tape: -1deg; --paper: #f0ebe1; }
.postit--cliff { --rot: -1.6deg; --shift: 6px; --tape: 2deg; --paper: #efe6d2; }

@media (max-width: 639px) {
  .pinboard {
    --postit-size: calc((100% - 1.25rem) / 2);
  }
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
}
.photo-lightbox[hidden] {
  display: none;
}
.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(30, 34, 28, 0.78);
  cursor: zoom-out;
}
.photo-lightbox img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(92vw, 1400px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  will-change: transform;
}
.photo-lightbox__close,
.photo-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  color: var(--color-on-surface);
  cursor: pointer;
}
.photo-lightbox__close {
  top: 1rem;
  right: 1rem;
}
.photo-lightbox__nav--prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.photo-lightbox__nav--next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.photo-lightbox.is-open .photo-lightbox__backdrop {
  animation: photo-dim 0.35s ease both;
}
@keyframes photo-dim {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .postit,
  .postit:hover,
  .postit:focus-visible {
    transform: none;
    transition: none;
  }
  .photo-lightbox.is-open .photo-lightbox__backdrop {
    animation: none;
  }
}

