/* The two creative practices share a layout, with their own visual language. */
:root { --header-bg: rgba(245,247,251,.94); --film-ink: #715879; --edit-surface: #f3edf6; }
:root[data-theme="dark"] { --header-bg: rgba(23,30,44,.94); --film-ink: #d6bce0; --edit-surface: #302a40; }
html { scroll-padding-top: 112px; }
.site-header { position: sticky; top: 0; z-index: 20; height: 88px; background: var(--header-bg); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.main-nav a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a[aria-current="location"] { color: var(--accent); }
.main-nav a[aria-current="location"]::after { transform: scaleX(1); }
.skip-link { position: fixed; }
.hero { padding-top: 32px; padding-bottom: 62px; min-height: 620px; }
.hero-description { font-size: 15px; line-height: 1.9; }
.hero-interests { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-interests a { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 24px; padding: 7px 12px; min-height: 36px; color: var(--muted); font-size: 11px; }
.hero-interests a:hover { border-color: var(--accent); color: var(--accent); }
.hero-interests .icon { width: 15px; height: 15px; }
.hero-interests a>span { font-family: monospace; color: var(--accent); }
.hero-interests a:last-child .icon { color: var(--film-ink); }
.section { padding: 76px 0; }
.about-section { gap: 76px; align-items: start; }
.about-body p { font-size: 15px; line-height: 1.95; max-width: 58ch; }
.about-body p.about-lead { font-size: 23px; line-height: 1.65; }
.about-signoff>span:last-child { font-size: 12px; }
.section-kicker { font-size: 13px; margin-bottom: 17px; }
.creations-section { padding: 5px 0 76px; border-bottom: 1px solid var(--line); }
.creation-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.creation-heading h2 { font-size: 30px; font-weight: 550; line-height: 1.5; letter-spacing: .4px; }
.creation-heading>p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.creation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.creation-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.creation-art { position: relative; height: 285px; overflow: hidden; padding: 22px 25px 18px; }
.stage-top,.stage-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.stage-top { height: 20px; }
.stage-bottom { position: absolute; bottom: 18px; left: 25px; right: 25px; font-size: 10px; }
.stage-dots { display: flex; gap: 5px; }
.stage-dots i { width: 5px; height: 5px; border-radius: 50%; background: #8799ba; }
.code-stage { color: #c5d3ec; background: #2b3852; }
.code-composition { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; align-items: center; height: 194px; }
.code-snippet { display: flex; flex-direction: column; gap: 9px; font-family: monospace; font-size: 12px; white-space: nowrap; }
.code-snippet b { color: #b8adfb; font-weight: 400; }
.code-snippet em { color: #bbd4b1; font-style: normal; }
.code-comment { color: #9aabc7; }
.snippet-lines { display: grid; gap: 7px; padding-top: 10px; }
.snippet-lines i { display: block; width: 76%; height: 4px; border-radius: 2px; background: #485b7e; }
.snippet-lines i:nth-child(2) { width: 52%; background: #5b638e; }
.snippet-lines i:nth-child(3) { width: 63%; }
.app-sketch { background: #f4f5ff; color: #35415f; border: 5px solid #566786; border-radius: 17px; padding: 16px 12px 11px; transform: rotate(7deg); width: 145px; justify-self: end; box-shadow: -12px 12px 0 #344661; }
.app-sketch-icon { display: block; color: #6977c6; font-size: 24px; line-height: 1; margin-bottom: 9px; }
.app-sketch strong { display: block; font-size: 12px; font-weight: 600; }
.sketch-line { height: 4px; background: #dce1f2; border-radius: 3px; margin-top: 9px; width: 80%; }
.sketch-line.short { width: 55%; margin-top: 5px; }
.sketch-button { display: flex; justify-content: space-between; margin-top: 15px; background: #dce1fc; border-radius: 6px; padding: 7px 9px; font-size: 9px; }
.edit-stage { background: #ece3f2; color: #6a5274; }
.edit-stage .stage-top .icon { width: 16px; height: 16px; }
.edit-composition { position: relative; display: flex; align-items: center; justify-content: center; height: 142px; }
.film-title { font-size: 31px; font-weight: 550; line-height: 1.5; letter-spacing: 2px; position: relative; z-index: 1; }
.film-bracket { width: 42px; height: 75px; border: 1px solid #a18bb1; position: absolute; top: 33px; }
.bracket-left { left: 14px; border-right: 0; }
.bracket-right { right: 14px; border-left: 0; }
.film-flower { position: absolute; right: 29px; top: 2px; font-size: 65px; color: #cbb8da; transform: rotate(12deg); }
.edit-timeline { position: relative; margin-top: 1px; }
.timeline-ruler { display: flex; justify-content: space-between; font-size: 8px; color: #77667f; margin-bottom: 6px; }
.timeline-clips { display: flex; height: 19px; gap: 4px; }
.timeline-clips i { background: #a795c4; flex: 1; border-radius: 3px; border: 1px solid #9582b6; }
.timeline-clips i:nth-child(2) { flex: 1.4; background: #d7b3be; border-color: #c69faa; }
.timeline-clips i:nth-child(3) { flex: .75; background: #c3bcdf; border-color: #aaa0c8; }
.timeline-audio { height: 14px; margin-top: 4px; border-radius: 3px; background: repeating-linear-gradient(90deg,#a4b9af 0 2px,#c6d8cb 2px 5px); opacity: .9; }
.timeline-head { position: absolute; left: 38%; top: 9px; bottom: -2px; width: 2px; background: #70578c; }
.timeline-head::before { content: ""; position: absolute; left: -3px; top: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #70578c; }
.creation-copy { padding: 27px 28px 24px; }
.creation-type { color: var(--accent); font-size: 12px; margin-bottom: 9px; }
.creation-card:last-child .creation-type { color: var(--film-ink); }
.creation-copy h3 { font-size: 24px; font-weight: 550; letter-spacing: .2px; margin-bottom: 12px; }
.creation-copy>p:not(.creation-type) { font-size: 14px; color: var(--muted); line-height: 1.95; min-height: 55px; }
.creation-link { display: inline-flex; align-items: center; gap: 15px; font-size: 13px; color: var(--accent); margin-top: 17px; min-height: 44px; }
.creation-link .icon { width: 17px; height: 17px; }
.creation-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.playground-intro>p:not(.section-kicker) { font-size: 14px; }
.idea-playground { padding: 25px 28px; }
.idea-filters { display: flex; width: fit-content; max-width: 100%; gap: 3px; padding: 4px; background: var(--pill); border: 1px solid var(--line); border-radius: 11px; margin-bottom: 22px; }
.idea-filters[hidden] { display: none; }
.idea-filters button { border: 0; padding: 0 17px; min-height: 40px; font-size: 13px; background: transparent; color: var(--muted); border-radius: 7px; }
.idea-filters button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 2px 5px #28334a08; }
.idea-meta { font-size: 11px; }
.idea-content { padding-top: 23px; min-height: 196px; }
.idea-category { font-size: 11px; }
.idea-content p { font-size: 14px; max-width: 36ch; }
.idea-hint { font-size: 11px; }
.button-idea { min-height: 44px; font-size: 12px; }
.contact-section { background: var(--lavender); border: 1px solid var(--line); border-radius: 24px; padding: 44px 24px 29px; margin-bottom: 42px; }
.contact-spark { font-size: 32px; margin-bottom: 17px; }
.contact-description { font-size: 14px; }
.contact-heading>p:first-of-type { font-size: 13px; }
.contact-actions { flex-wrap: wrap; }
.copy-button { width: auto; min-width: 76px; height: 42px; padding: 0 11px; border-radius: 9px; gap: 7px; font-size: 12px; background: var(--surface); }
.copy-status { min-height: 22px; height: auto; font-size: 12px; }
.site-footer { padding-top: 23px; }
.site-footer p,.back-top,.motion-toggle { font-size: 11px; }
:root[data-theme="dark"] .edit-stage { background: #3d354d; color: #eadcf0; }
:root[data-theme="dark"] .film-flower { color: #60506e; }
:root[data-theme="dark"] .timeline-ruler { color: #cbb7da; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  :root:not([data-motion="off"]) .app-sketch { transition: transform 450ms var(--motion-ease); }
  :root:not([data-motion="off"]) .creation-card:hover .app-sketch { transform: rotate(3deg) translateY(-3px); }
  :root:not([data-motion="off"]) .timeline-head { transition: transform 700ms var(--motion-ease); }
  :root:not([data-motion="off"]) .creation-card:hover .timeline-head { transform: translateX(45px); }
}
@media (max-width: 1000px) {
  .about-section { gap: 45px; }
  .creation-art { padding: 20px; height: 260px; }
  .stage-bottom { left: 20px; right: 20px; }
  .code-composition { height: 171px; gap: 5px; }
  .code-snippet { font-size: 10px; }
  .app-sketch { width: 115px; padding: 12px 10px 10px; border-width: 4px; }
  .edit-composition { height: 121px; }
  .film-title { font-size: 28px; }
  .film-bracket { top: 22px; width: 27px; }
  .bracket-left { left: 0; }.bracket-right { right: 0; }
  .film-flower { right: 14px; top: -3px; font-size: 56px; }
  .creation-copy { padding: 24px; }
  .creation-copy h3 { font-size: 21px; }
  .creation-heading h2 { font-size: 27px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 88px; }
  .site-header { height: 72px; gap: 12px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 12px; padding: 0; }
  .theme-toggle { width: 44px; height: 44px; flex-shrink: 0; }
  .wordmark { font-size: 26px; }
  .hero { min-height: 0; padding: 28px 0 58px; gap: 31px; }
  .hero-description { font-size: 14px; }
  .hero-interests { gap: 8px; margin-top: 18px; }
  .hero-interests a { min-height: 40px; font-size: 11px; padding: 6px 11px; }
  .section { padding: 53px 0; }
  .about-section { gap: 22px; }
  .about-body p.about-lead { font-size: 21px; }
  .about-lead .desktop-break { display: block; }
  .about-body p { font-size: 14px; }
  .section-kicker { font-size: 12px; margin-bottom: 12px; }
  .creation-heading { display: block; margin-bottom: 23px; }
  .creation-heading h2 { font-size: 25px; }
  .creation-heading>p { font-size: 13px; margin-top: 12px; }
  .creation-heading>p br { display: none; }
  .creations-section { padding: 2px 0 51px; }
  .creation-grid { grid-template-columns: 1fr; gap: 22px; }
  .creation-art { height: 265px; padding: 20px 23px; }
  .code-composition { height: 180px; }
  .code-snippet { font-size: 11px; }
  .app-sketch { width: 126px; }
  .edit-composition { height: 126px; }
  .film-title { font-size: 30px; }
  .creation-copy { padding: 24px; }
  .creation-copy h3 { font-size: 22px; }
  .creation-copy>p:not(.creation-type) { min-height: 0; font-size: 14px; }
  .creation-link { margin-top: 13px; }
  .playground-intro>p:not(.section-kicker) { font-size: 14px; }
  .playground-doodle { display: none; }
  .idea-playground { padding: 22px; }
  .idea-filters { margin-bottom: 20px; }
  .idea-content { min-height: 203px; }
  .idea-content h3 { font-size: 24px; }
  .idea-content p { font-size: 14px; }
  .idea-hint { display: none; }
  .idea-bottom { justify-content: flex-end; margin-top: 0; }
  .contact-section { padding: 34px 20px 22px; margin-bottom: 25px; border-radius: 19px; }
  .contact-heading h2 { font-size: 25px; }
  .contact-description { font-size: 13px; line-height: 1.9; }
  .contact-actions { gap: 8px; margin-top: 18px; }
  .email-link { font-size: 15px; gap: 6px; }
  .copy-button { height: 40px; min-width: 74px; margin-top: 3px; }
  .copy-status { font-size: 11px; margin-top: 8px; }
  .site-footer p { font-size: 10px; line-height: 1.7; }
  .site-footer .wordmark { font-size: 24px; }
  .footer-actions { gap: 18px; }
}
@media (max-width: 370px) {
  .site-header { gap: 9px; }.main-nav { gap: 12px; }.wordmark { font-size: 24px; }
  .theme-toggle { width: 44px; height: 44px; }
  .creation-art { padding-left: 17px; padding-right: 17px; }
  .code-snippet { font-size: 9px; }.app-sketch { width: 106px; }
  .creation-copy { padding: 22px; }.creation-copy h3 { font-size: 20px; }
  .film-title { font-size: 28px; }.film-flower { right: 1px; }
  .creation-heading h2 { font-size: 23px; }.contact-heading h2 { font-size: 22px; }
  .idea-playground { padding: 19px; }.idea-content { min-height: 220px; }
  .email-link { font-size: 14px; }
}

.idea-playground[data-kind="edits"] { background: var(--edit-surface); }
