@font-face {
  font-family: Bricolage Grotesque;
  src: url("media/bricolage.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("media/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff9f2;
  --ink: #331b20;
  --muted: #694f53;
  --red: #8e283d;
  --line: #eddadd;
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #b14659; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2, h3 { line-height: 1.03; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 2; top: 10px; left: 10px; background: white; padding: 10px 18px; }
.site-header { background: var(--paper); border-bottom: 1px solid #ecdadd; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 23px; font-weight: 800; letter-spacing: -.045em; }
.brand-dot { color: #ad344b; margin-left: -8px; }
.brand-mark { width: 38px; height: 38px; flex: none; object-fit: contain; border-radius: 9px; background: #010101; }
.header-inner nav, .footer-inner nav { display: flex; gap: 29px; align-items: center; }
.header-inner nav a, .footer-inner nav a { color: #52363b; font-weight: 700; font-size: 14px; }
.header-inner nav a:hover, .footer-inner nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .24em; }
.lab-link { display: inline-flex; gap: 8px; align-items: center; padding: 8px 13px; border-radius: 11px; color: #762334; background: #f7e1e2; white-space: nowrap; font-size: 13px; font-weight: 700; }
.lab-link:hover { background: #f1d3d9; }
.little-star { font-size: 14px; }
.external-icon { display: inline-block; position: relative; width: .65em; height: .65em; color: currentColor; flex: none; }
.external-icon::before, .external-icon::after { content: ""; position: absolute; }
.external-icon::before { top: 0; right: 0; width: .48em; height: .48em; border-right: 1.5px solid; border-top: 1.5px solid; }
.external-icon::after { left: 3%; top: 48%; width: 105%; border-top: 1.5px solid; transform: rotate(-45deg); }
.hero {
  overflow: hidden;
  color: #fff9f3;
  background: linear-gradient(118deg, #46141e, #601c28 60%, #702433);
  border-bottom: 1px solid #722a36;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.45fr); gap: clamp(22px, 4vw, 52px); align-items: center; min-height: 515px; padding-block: 60px; }
.hello { display: inline-flex; gap: 8px; align-items: center; color: #ffe0df; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 16px; border: 1px solid #ffffff42; border-radius: 8px; background: #fff9f310; padding: 5px 9px; }
.hello span { font-size: 15px; line-height: 1; color: #ffb4b6; }
.hero h1 { font-size: clamp(53px, 6.45vw, 88px); font-weight: 800; letter-spacing: -.075em; white-space: nowrap; }
.hero h1 span { color: #ffb4b6; }
.welcome-copy { max-width: 380px; font: 600 clamp(20px, 2.05vw, 27px)/1.27 var(--display); margin-top: 21px; color: #ffe1df; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; line-height: 1.2; min-height: 46px; padding: 11px 16px; border: 1px solid transparent; border-radius: 12px; transition: background-color .16s, transform .16s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 16px; }
.button-pink { color: #46141e; background: #f8c4c8; border-color: #ecadb6; }
.button-pink:hover { background: #ffd4d6; }
.button-outline { background: #fffbf6; color: #742638; border-color: #e4bfc6; }
.button-outline:hover { background: #fff0ef; }
.button-cream { background: #fff5de; color: #5b202b; border-color: #f0dec1; }
.button-cream:hover { background: #ffe9c5; }
.hero .button-outline { color: #fff4f1; border-color: #ffe1df70; background: #fff9f30b; }
.hero .button-outline:hover { background: #fff9f320; }
.hero-frame { position: relative; width: 100%; justify-self: end; }
.hero-art { border: 1px solid #ffffff52; border-radius: 20px; box-shadow: 0 15px 42px #26081365; }
.hero-frame figcaption { margin-top: 9px; text-align: right; color: #ffe1df; font-size: 13px; font-weight: 600; }
.section { padding-block: 67px; }
.featured-video-player {
  display: block;
  width: min(100%, 800px);
  height: auto;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  border: 0;
  border-radius: 20px;
  background: #271319;
}
.featured-short {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-bottom: clamp(42px, 6vw, 67px);
}
.featured-video-player--portrait { width: min(100%, 360px); aspect-ratio: 3 / 4; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.section-title { display: flex; align-items: center; gap: 13px; }
.section-title h2, .lab-panel h2 { font-weight: 800; font-size: clamp(34px, 4.1vw, 53px); letter-spacing: -.055em; }
.section-title p, .lab-panel p { color: var(--muted); margin-top: 5px; }
.section-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; color: #8e283d; font-size: 24px; }
.rose { background: #f5dce1; }
.peach { background: #ffddcb; color: #923e38; font-size: 16px; }
.mint { background: #dceee0; color: #3f684f; }
.filters { display: flex; gap: 2px; padding: 4px; border-radius: 12px; border: 1px solid #ebd5d9; background: #fbedea; }
.filters button { min-width: 52px; min-height: 40px; padding: 5px 10px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; font-weight: 700; color: #6f4a52; }
.filters button:hover { background: #f4dade; }
.filters button[aria-pressed="true"] { color: #fff; background: #8e283d; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.gallery-card, .video-card { display: block; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fffdf9; text-align: left; padding: 0; box-shadow: 0 3px 12px #57233307; transition: transform .18s, box-shadow .18s; }
.gallery-card:hover, .video-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #57233317; }
.card-image { display: block; position: relative; overflow: hidden; background: #f6e6e5; }
.gallery-card .card-image { aspect-ratio: 1.25; }
.card-image.image-contained { background: #eed3d7; }
.card-image.image-contained img { object-fit: contain; }
.card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--image-position, 50%); }
.card-body { display: flex; min-height: 66px; padding: 12px 14px 12px 17px; align-items: center; justify-content: space-between; gap: 9px; }
.card-title { font: 750 clamp(17px, 2.15vw, 21px)/1.15 var(--display); letter-spacing: -.025em; }
.card-type { flex: none; padding: 4px 8px; border-radius: 7px; background: #f5e4dd; color: #813d31; font-size: 11px; font-weight: 700; }
.gallery-card[data-kind="GIF"] .card-type { background: #f9dce3; color: #8e3247; }
.text-link { color: #8e283d; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.gallery-links { margin-top: 20px; }
.projects-section { background: #f6e9e5; border-top: 1px solid #efdbd8; }
.project-entry { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #fffdf9; }
.project-art { background: #250f14; }
.project-copy { max-width: 78ch; margin-inline: auto; padding: clamp(22px, 4.5vw, 48px); }
.project-copy h3 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.045em; margin-bottom: 16px; }
.project-copy p { color: #65454c; line-height: 1.66; }
.project-copy p + p { margin-top: 14px; }
.videos-section { background: #f9eae6; border-block: 1px solid #f0dade; }
.videos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video-card .card-image { aspect-ratio: 16 / 9; }
.play-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; padding-left: 3px; border-radius: 50%; color: #60202c; background: #fff9f3ed; font-size: 17px; box-shadow: 0 3px 12px #290d1538; }
.video-card:hover .play-mark { background: #f8c4c8; }
.video-arrow { font-weight: 700; color: var(--red); }
.blog-slogan { color: var(--red); font: 700 clamp(17px, 2vw, 24px)/1.2 var(--display); }
.blog-body { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.blog-art { overflow: hidden; border: 1px solid #ebd4d7; border-radius: 20px; background: #541923; }
.blog-carousel { min-width: 0; }
.blog-navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.blog-navigation p { color: var(--muted); }
.blog-controls { display: flex; gap: 8px; }
.blog-controls button:disabled { opacity: .45; cursor: default; transform: none; }
.posts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 20px) / 2.35);
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 5px;
  padding: 5px 5px 18px;
  scrollbar-width: thin;
  scrollbar-color: #c98794 #f6e6e5;
}
.post { scroll-snap-align: start; border: 1px solid #eddcdb; border-radius: 20px; background: #fffdf9; }
.post:nth-child(3n + 2) { background: #f9e6e8; }
.post:nth-child(3n) { background: #f3ddd8; }
.post summary { list-style: none; padding: clamp(22px, 3vw, 32px); }
.post summary > span { display: flex; flex-direction: column; gap: 18px; min-height: 270px; }
.post summary::-webkit-details-marker { display: none; }
.post .card-title { font: 750 clamp(26px, 3vw, 36px)/1.08 var(--display); letter-spacing: -.045em; }
.post summary:hover .card-title { color: var(--red); }
.post-meta { display: block; color: #77565f; font-size: 14px; }
.post-teaser { color: #65454c; line-height: 1.55; }
.post-read { margin-top: auto; color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.blog-enhanced .post-text { display: none; }
.blog-enhanced .post summary, .blog-enhanced .post summary > span { height: 100%; }
.post-text { max-width: 76ch; padding: 0 16px 22px; color: #65454c; line-height: 1.65; }
.post-text > * + * { margin-top: 12px; }
.post-text ul { padding-inline-start: 24px; }
.post-text li + li { margin-top: 7px; }
.blog-reader { width: min(760px, calc(100% - 28px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: clamp(22px, 5vw, 48px); border: 1px solid #e4bfc6; border-radius: 24px; background: var(--paper); color: var(--ink); }
.blog-reader::backdrop { background: #381319c9; }
.blog-reader-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding-bottom: 12px; background: var(--paper); }
.blog-reader-header p { color: var(--red); font-weight: 700; }
.blog-reader-header form { margin: 0; }
.blog-reader h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.06; letter-spacing: -.045em; margin-block: 12px 26px; }
.blog-reader .post-text { padding: 0; font-size: 18px; line-height: 1.75; }
body:has(.blog-reader[open]) { overflow: hidden; }
.lab-section { padding-block: 64px; }
.lab-panel { display: flex; align-items: center; justify-content: space-between; gap: 23px; background: #541923; border-radius: 24px; color: #fff9fb; padding: 29px 32px; }
.lab-panel h2 { font-size: clamp(30px, 4vw, 41px); }
.lab-panel p { color: #ffe1df; }
.lab-action { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.lab-art { width: clamp(78px, 10vw, 122px); border: 1px solid #ffffff50; border-radius: 14px; }
.about-bun { padding-bottom: clamp(36px, 6vw, 64px); }
.about-bun h2 { font: 800 clamp(24px, 3vw, 33px)/1.15 var(--display); letter-spacing: -.035em; }
.about-bun p { max-width: 68ch; margin-top: 8px; color: var(--muted); }
.about-bun .text-link { display: inline; font-size: inherit; text-decoration: underline; }
.site-footer { background: #f8eae5; border-top: 1px solid #efdbd8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.footer-inner p { color: var(--muted); font-size: 12px; margin-top: 7px; }
.viewer { width: min(670px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow: auto; border: 1px solid #e7cbce; border-radius: 20px; padding: 15px; background: var(--paper); color: var(--ink); }
.viewer::backdrop { background: #381319c9; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.viewer-top h2 { font-size: clamp(23px, 5vw, 32px); padding-left: 4px; }
.icon-button { background: #f5dce1; border: 0; border-radius: 10px; font-size: 25px; line-height: 1; width: 44px; height: 44px; }
.viewer-media { border-radius: 12px; overflow: hidden; background: #f6e6e5; }
.viewer-media img { max-height: 67vh; object-fit: contain; }
.viewer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.viewer-actions:has(:not([hidden])) { margin-top: 13px; }

@media (max-width: 950px) {
  .hero-inner { min-height: 410px; gap: 25px; }
}
@media (max-width: 720px) {
  .wrap { width: min(520px, calc(100% - 38px)); }
  .header-inner { min-height: 0; padding-block: 12px 10px; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; }
  .header-inner nav { grid-column: span 2; grid-row: 2; flex-wrap: wrap; gap: 4px 17px; }
  .header-inner nav a { padding-block: 6px; }
  .header-inner .lab-link { grid-column: 2; grid-row: 1; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 27px; padding-block: 35px; }
  .hero h1 { font-size: clamp(52px, 12.5vw, 77px); }
  .hero-frame { justify-self: center; max-width: 520px; }
  .hero-art { border-radius: 14px; }
  .welcome-copy { margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .section { padding-block: 42px; }
  .section-top { align-items: flex-start; flex-wrap: wrap; }
  .section-icon { width: 41px; height: 41px; font-size: 20px; }
  .peach { font-size: 14px; }
  .gallery-grid, .videos-grid { gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 10px; min-height: 57px; }
  .blog-slogan { margin-left: 54px; }
  .blog-art { border-radius: 14px; }
  .posts { grid-auto-columns: 88%; gap: 14px; }
  .post summary > span { min-height: 310px; }
  .blog-navigation { align-items: flex-start; }
  .blog-navigation p { max-width: 13ch; }
  .blog-controls .button { padding-inline: 12px; }
  .lab-section { padding-block: 42px; }
  .lab-panel { padding: 22px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { flex-wrap: wrap; gap: 10px 17px; }
  .play-mark { width: 43px; height: 43px; font-size: 13px; }
}
@media (max-width: 365px) {
  .brand { font-size: 20px; }
  .lab-link { padding-inline: 8px; gap: 5px; }
  .card-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
