/* Hallmark · shape: character album · genre: playful · theme: custom · job: hire · idea: "A real hedgehog turns a drawing into a film" · vibe: "Light personal lively artist sketchbook"
 * paper: oklch(97.9% 0.006 145) · accent: oklch(45% 0.155 8) · display: Shantell Sans · body: Golos Text · hero: drawing turntable · nav: name and destinations · footer: personal contact · imagery: supplied artwork and portrait · signature: interactive hedgehog rotation
 * axes: light/handwritten/chromatic-rose · posture: full-palette · contrast: pass · fold: pass · redesign: full · hero-review: fix, 3 resolved · finish-review: subagent, 2 resolved · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: familiar split hero, supplied turntable makes the artist's actual character the interaction */
/* Hallmark · waive 79 · custom drawing turntable fits in the first screen · The character and its controls carry the hero; whitespace gives this supplied artwork a clear stage */
/* Hallmark · waive 83 · supplied artwork is the portfolio being evaluated · Employers need to inspect actual films and drawings; replacing this imagery with prose would hide the work */
/* Hallmark · waive 71 · film-caption headings label the preceding video posters · Each portfolio title belongs to its film image; adding space above would detach captions from the supplied artwork */
/* Hallmark · dismissed 3 · The study-grid contains real video posters, not icon tiles or feature cards */
/* Hallmark · answered F15 · The film and drawing grids share 24px gutters; larger 64px gaps separate long editorial text from the artwork */
/* Hallmark · dismissed 25 · Both measures belong to short film descriptions and single-sentence leads; continuous biography uses a 50ch measure */
@import url("./tokens.css");
@font-face { font-family: "Shantell Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/shantell-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Shantell Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("/fonts/shantell-latin.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: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/golos-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/golos-latin.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; }
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-lg); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; font-synthesis: none; caret-color: var(--color-accent); }
::selection { background: var(--color-pink); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
button, input { font: inherit; }
button, summary, input[type="range"] { cursor: pointer; }
button { color: inherit; }
button:disabled, button[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
button:active, .button:active { transform: translateY(1px); }
button[aria-busy="true"] { cursor: progress; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: var(--text-display); line-height: 1.16; letter-spacing: -0.035em; }
h2 { font-size: var(--text-section); line-height: 1.2; letter-spacing: -0.025em; }
h3 { font-size: var(--text-title); line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
img, video { max-width: 100%; height: auto; display: block; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: var(--space-md); left: var(--space-md); z-index: var(--z-modal); padding: var(--space-sm) var(--space-lg); background: var(--color-ink); color: var(--color-paper); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding-block: var(--space-lg); }
.wordmark { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; text-decoration: none; font-weight: 500; }
.wordmark span { display: block; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); margin-top: var(--space-2xs); }
.site-header nav { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-sm); }
.site-header nav a { text-decoration: none; padding-block: var(--space-sm); }
.site-header nav a:hover { color: var(--color-accent); }
.site-header .nav-contact { border: 1px solid var(--color-ink); border-radius: var(--radius-pill); padding-inline: var(--space-lg); }
.site-header .nav-contact:hover { background: var(--color-ink); color: var(--color-paper); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: var(--space-sm) var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); border: 0; border-radius: var(--radius-pill); font-weight: 500; text-decoration: none; transition: background-color var(--dur-micro); cursor: pointer; }
.button:hover { background: var(--color-accent-hover); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-md); }
.text-link:hover { color: var(--color-accent); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-xl); padding-top: var(--space-xl); padding-bottom: var(--space-lg); min-height: min(840px, calc(100svh - 100px)); }
.hero::before { content: ""; position: absolute; inset: 0 var(--gutter) var(--space-2xl); background: var(--color-paper-2); z-index: -1; border-radius: var(--radius-card); }
.hero-copy { padding: var(--space-xl) 0 var(--space-2xl) var(--space-xl); position: relative; z-index: 1; }
.hero h1 { width: 12ch; max-width: 100%; }
.hero-lead { max-width: 32ch; margin-top: var(--space-lg); margin-bottom: var(--space-lg); font-size: var(--text-lead); line-height: 1.5; }
.character-stage { position: relative; padding-right: var(--space-xl); }
.character-paper { position: relative; height: 390px; display: grid; place-items: center; background: var(--color-pink); border-radius: 48% 48% 6px 6px; transform: rotate(3deg); }
.character-paper img { position: absolute; inset: 0; margin: auto; width: 78%; height: 96%; object-fit: contain; transform: rotate(-3deg); mix-blend-mode: multiply; }
.character-note { position: absolute; right: -24px; top: var(--space-lg); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; transform: rotate(6deg); }
.character-controls { padding-top: var(--space-lg); font-size: var(--text-sm); }
.character-controls > span { display: block; margin-bottom: var(--space-xs); }
.turntable { display: flex; align-items: center; gap: var(--space-md); }
.turntable input { min-width: 0; width: 100%; height: 44px; accent-color: var(--color-accent); }
.turntable button { flex-shrink: 0; border: 0; background: var(--color-clear); padding: var(--space-xs); border-radius: var(--radius-card); text-decoration: underline; text-underline-offset: 4px; font-size: var(--text-sm); min-height: 44px; }
.turntable button:hover { color: var(--color-accent); }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--space-lg); padding-top: var(--space-2xl); font-size: var(--text-sm); color: var(--color-muted); }
.section { padding-block: var(--space-3xl); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.section-heading h2 { max-width: 20ch; }
.section-heading p { max-width: 32ch; color: var(--color-ink-2); }
.diploma { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-2xl); align-items: center; }
.diploma h2 { max-width: 12ch; }
.diploma-copy > p { margin-block: var(--space-lg); max-width: 38ch; font-size: var(--text-lg); }
.project-meta { display: flex; flex-wrap: wrap; column-gap: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.diploma-copy .text-link { margin-top: var(--space-md); }
.master-download { display: block; width: fit-content; min-height: 44px; padding-block: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.master-download:hover { color: var(--color-accent); }
.film-cover { display: block; position: relative; overflow: clip; border-radius: var(--radius-card); background: var(--color-cinema); color: var(--color-cinema-ink); }
.film-cover img { width: 100%; height: 100%; object-fit: cover; }
.diploma-cover { aspect-ratio: 4 / 3; outline: 16px solid var(--color-peach); outline-offset: 0; }
.diploma-cover img { object-fit: contain; }
.play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; background: var(--color-scrim); color: var(--color-cinema-ink); border: 1px solid var(--color-cinema-ink); border-radius: var(--radius-pill); display: grid; place-items: center; transition: background-color var(--dur-micro); }
.play svg { width: 26px; height: 26px; margin-left: var(--space-2xs); }
.film-cover:hover .play { background: var(--color-accent); }
.film-cover:active .play { transform: scale(0.96); }
.film-cover:focus-visible { outline: 3px solid var(--color-cinema-ink); outline-offset: -6px; box-shadow: 0 0 0 3px var(--color-ink); }
.duration { position: absolute; right: var(--space-sm); bottom: var(--space-sm); background: var(--color-scrim); color: var(--color-cinema-ink); padding: var(--space-2xs) var(--space-xs); border-radius: var(--radius-card); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.ai-section { background: var(--color-paper-2); padding-block: var(--space-3xl); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.75fr)); gap: var(--gap-columns); }
.film-landscape .film-cover { aspect-ratio: 16 / 9; }
.film-portrait .film-cover { aspect-ratio: 9 / 16; }
.film-caption { margin-top: var(--space-md); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: var(--space-md); row-gap: var(--space-2xs); }
.film-caption span { color: var(--color-muted); font-size: var(--text-sm); }
.film-portrait .film-caption { display: block; }
.film-portrait .film-caption span { display: block; margin-top: var(--space-xs); }
.film-description { margin-top: var(--space-sm); max-width: 42ch; color: var(--color-ink-2); }
.film-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-lg); }
.film-stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); }
.drawing-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; }
.art-link { display: block; border-radius: var(--radius-card); background: var(--color-paper-2); outline: 1px solid var(--color-clear); outline-offset: 4px; }
.art-link:hover { outline-color: var(--color-muted); }
.art-link:focus-visible { outline: 3px solid var(--color-focus); }
.drawing-grid .art-link { padding: var(--space-lg); }
.drawing-grid img { width: 100%; height: 320px; object-fit: contain; }
.character-sheet .art-link { background: var(--color-peach); }
.character-sheet img { mix-blend-mode: multiply; }
.meditation .art-link { background: var(--color-pink); }
.meditation img { mix-blend-mode: multiply; }
figcaption { font-size: var(--text-sm); margin-top: var(--space-sm); }
.background-heading { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); margin-top: var(--space-2xl); margin-bottom: var(--space-lg); }
.background-heading span { font-size: var(--text-sm); color: var(--color-muted); }
.background-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.background-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-card); }
.illustration-link { margin-top: var(--space-lg); }
.studies-section { background: var(--color-peach); padding-block: var(--space-3xl); }
.study-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.study-grid .film-caption { display: block; }
.study-grid .film-caption span { display: block; margin-top: var(--space-2xs); }
.study-cover { aspect-ratio: 16 / 10; }
.study-cover img { object-fit: contain; }
.study-archive { margin-top: var(--space-xl); border-block: 1px solid var(--color-rule); }
.study-archive summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding-block: var(--space-lg); font-size: var(--text-lg); list-style: none; }
.study-archive summary::-webkit-details-marker { display: none; }
.study-archive summary span { font-size: 1.8rem; line-height: 1; }
.study-archive[open] summary span { transform: rotate(45deg); }
.study-archive summary:hover { color: var(--color-accent); }
.archive-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); padding-block: var(--space-md) var(--space-xl); }
.study-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-md); }
.study-links a { min-height: 44px; display: inline-flex; align-items: center; }
.study-links a:hover { color: var(--color-accent); }
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-2xl); align-items: center; }
.portrait { padding: var(--space-sm); background: var(--color-paper-2); transform: rotate(-2deg); }
.portrait img { width: 100%; height: auto; }
.portrait figcaption { font-family: var(--font-display); font-size: var(--text-lg); text-align: center; padding-bottom: var(--space-xs); }
.about-copy > p { margin-top: var(--space-lg); max-width: 50ch; }
.about-lead { font-size: var(--text-lead); line-height: 1.5; }
.tools { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.tools dt { font-weight: 500; margin-bottom: var(--space-xs); }
.tools dd { margin: 0; font-size: var(--text-sm); line-height: 1.8; color: var(--color-ink-2); }
.about-links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.contact-section { background: var(--color-pink); padding-block: var(--space-2xl) var(--space-lg); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.contact-inner h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.contact-inner p { margin-top: var(--space-lg); }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-2xl); font-size: var(--text-sm); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom span { align-self: center; }
.has-dialog { overflow-y: hidden; }
.viewer { padding: var(--space-lg); width: min(1056px, calc(100% - 32px)); max-height: calc(100svh - 32px); border: 0; border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); overflow-y: auto; }
.viewer::backdrop { background: var(--color-overlay); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-md); }
.viewer-top h2 { font-family: var(--font-body); font-size: var(--text-title); }
.viewer-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; background: var(--color-paper-2); border: 0; border-radius: var(--radius-pill); }
.viewer-close:hover { background: var(--color-paper-3); }
.viewer-screen { display: grid; place-items: center; background: var(--color-cinema); color: var(--color-cinema-ink); border-radius: var(--radius-card); min-height: 120px; }
.viewer-screen video, .viewer-screen img { width: 100%; height: auto; max-height: calc(100svh - 240px); object-fit: contain; }
.viewer-screen img { background: var(--color-paper); }
.viewer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-lg); margin-top: var(--space-md); font-size: var(--text-sm); }
.viewer-bottom p { max-width: 65ch; }
.viewer-bottom a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
.viewer-error { margin-top: var(--space-md); color: var(--color-accent); }
@media (min-width: 1600px) {
  :root { --text-display: clamp(4.65rem, 4.4vw, 6.25rem); --text-section: clamp(3.25rem, 2.8vw, 4rem); --text-lead: 1.5rem; }
  .site-header nav { font-size: var(--text-md); gap: var(--space-xl); }
  .wordmark { font-size: 1.5rem; }
  .hero { padding-top: var(--space-2xl); }
  .hero-copy { padding-left: var(--space-2xl); }
  .hero h1 { width: auto; max-width: 16ch; }
  .character-stage { padding-right: var(--space-2xl); }
  .character-paper { height: clamp(390px, 28vw, 560px); }
  .drawing-grid img { height: clamp(320px, 23vw, 440px); }
  .portrait { width: 100%; max-width: 640px; justify-self: center; }
  .about-copy { width: 100%; max-width: 54ch; justify-self: center; }
}
@media (max-width: 900px) { .site-header nav { gap: var(--space-md); } .site-header nav a:nth-child(3) { display: none; } .hero { column-gap: var(--space-lg); } .hero-copy { padding-left: var(--space-lg); } .character-stage { padding-right: var(--space-lg); } .character-paper { height: 330px; } .character-note { right: -8px; top: 0; } }
@media (max-width: 640px) {
  .site-header { align-items: flex-start; padding-block: var(--space-md); gap: var(--space-sm); }
  .wordmark { font-size: 1.05rem; } .wordmark span { font-size: var(--text-sm); }
  .site-header nav { gap: var(--space-sm); } .site-header nav a { min-height: 44px; }
  .site-header nav a:not(.nav-contact) { display: none; }
  .site-header .nav-contact { padding-inline: var(--space-md); }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-top: var(--space-lg); min-height: auto; }
  .hero::before { bottom: var(--space-2xl); }
  .hero-copy { padding: var(--space-lg) var(--space-lg) var(--space-lg); }
  .hero h1 { width: auto; font-size: clamp(1.9rem, 9.2vw, 2.7rem); letter-spacing: -0.04em; }
  .hero-lead { font-size: var(--text-lg); margin-top: var(--space-md); }
  .character-stage { padding: 0 var(--space-xl); }
  .character-paper { height: 230px; max-width: 340px; margin-inline: auto; }
  .character-note { font-size: var(--text-md); right: -20px; }
  .character-controls { max-width: 340px; margin-inline: auto; padding-top: var(--space-md); }
  .hero-bottom { padding-top: var(--space-xl); font-size: var(--text-sm); }
}
@media (max-width: 900px) {
  .section { padding-block: var(--space-2xl); }
  .diploma, .about { gap: var(--space-xl); }
  .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film-landscape { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); }
  .film-landscape > .film-cover { grid-row: span 3; }
  .film-landscape .film-caption { margin-top: 0; align-self: end; }
  .film-landscape .film-description { margin-top: 0; }
  .film-landscape .film-stills { display: none; }
  .film-portrait .film-cover { max-height: 460px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: var(--space-md); max-width: 50ch; }
  .drawing-grid img { height: 250px; }
  .film-caption { display: block; }
  .film-caption span { display: block; margin-top: var(--space-2xs); }
}
@media (max-width: 640px) {
  .section { padding-block: var(--space-2xl); }
  .diploma, .about, .drawing-grid, .archive-groups { grid-template-columns: minmax(0, 1fr); }
  .diploma { gap: var(--space-xl); }
  .diploma h2 { max-width: 16ch; }
  .diploma-cover { outline-width: 8px; margin: var(--space-xs); }
  .diploma-copy > p { font-size: var(--text-md); }
  .ai-section, .studies-section { padding-block: var(--space-2xl); }
  .ai-grid { column-gap: var(--space-md); row-gap: var(--space-xl); }
  .film-landscape { display: block; }
  .film-landscape .film-caption { margin-top: var(--space-md); }
  .film-landscape .film-description { margin-top: var(--space-sm); }
  .film-portrait h3 { font-size: var(--text-lg); }
  .play { width: 48px; height: 48px; }
  .drawing-grid img { height: auto; max-height: 300px; }
  .drawing-grid .art-link { padding: var(--space-md); }
  .meditation img { height: 250px; }
  .background-heading { display: block; margin-top: var(--space-xl); }
  .background-heading span { display: block; margin-top: var(--space-xs); }
  .background-grid { grid-template-columns: minmax(0, 1fr); }
  .study-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); }
  .study-grid article { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-md); align-items: center; }
  .study-grid .film-caption { margin-top: 0; }
  .study-grid h3 { font-size: var(--text-lg); }
  .study-cover .play { width: 40px; height: 40px; }
  .study-cover .duration { right: var(--space-2xs); bottom: var(--space-2xs); padding: 0 var(--space-2xs); }
  .study-archive summary { font-size: var(--text-md); }
  .about { gap: var(--space-xl); }
  .portrait { max-width: 420px; width: calc(100% - 16px); margin-inline: auto; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
  .contact-links { width: 100%; }
  .viewer { padding: var(--space-md); width: calc(100% - 20px); max-height: calc(100svh - 20px); }
  .viewer-bottom { display: block; }
  .viewer-screen video, .viewer-screen img { max-height: calc(100svh - 280px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
