@charset "UTF-8";

:root {
    color-scheme: light;
    --paper: #f6f5ef;
    --surface: #fffefa;
    --ink: #183c3d;
    --muted: #536563;
    --teal: #236b60;
    --mint: #dce9de;
    --lime: #dfeab8;
    --sun: #edcb89;
    --coral: #e9b49d;
    --lavender: #eae6ef;
    --line: #d3dbd2;
    --wrap: 1240px;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: var(--ml-font-min, 1.125rem); line-height: 1.7; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure, h1, h2, h3, p { margin: 0; }
p + p { margin-top: 1.1em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--ink); }
.wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
:where(.hero, .hero-gallery, .project-card, .feature-grid, .workshop-intro, .music-story, .beyond-panel, .about, .ai-grid, .faq, .contact) > * { min-width: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h2 { font-size: max(var(--ml-font-min), clamp(2.25rem, 4.1vw, 3.5rem)); font-weight: 700; }
h2 > span { color: var(--teal); }
h3 { font-size: max(var(--ml-font-min), 1.65rem); font-weight: 650; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: var(--ml-font-min); font-weight: 550; line-height: 1.5; }
.small-square { width: 8px; height: 8px; flex: 0 0 auto; background: var(--teal); border-radius: 50%; }

/* One clear navigation, with language selection in the same predictable place. */
.site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 40px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: block; width: min(192px, 100%); padding-block: 18px; }
.brand img { width: 100%; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.site-header nav a, .nav-contact { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 10px; font-size: var(--ml-font-min); line-height: 1.5; font-weight: 550; }
.site-header nav a:hover, .nav-contact:hover { color: var(--teal); }
.site-header .language-switch { justify-self: end; }

/* Typography leads; the project index carries the artwork. */
.hero { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 80px 96px; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 30px; font-size: max(var(--ml-font-min), clamp(2.5rem, 4.8vw, 4.625rem)); font-weight: 750; line-height: 1.08; letter-spacing: -.06em; }
.hero h1 > span { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -.055em; }
.hero-intro { max-width: 31rem; margin-bottom: 32px; color: var(--muted); font-size: max(var(--ml-font-min), 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; max-width: 100%; padding: 13px 20px; border: 1px solid var(--ink); border-radius: 8px; font: inherit; font-size: var(--ml-font-min); font-weight: 600; line-height: 1.5; cursor: pointer; transition: background .18s, border-color .18s; }
.button > span { flex: 0 0 auto; }
.button-dark { background: var(--ink); color: var(--surface); }
.button-dark:hover { background: var(--teal); border-color: var(--teal); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--mint); border-color: var(--mint); }
.hero-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-project { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .18s; }
.hero-project:hover { border-color: var(--teal); }
.hero-project-software { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
.hero-project-artist:last-child:nth-child(even) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.hero-project-art { display: grid; place-items: center; aspect-ratio: 1; background: var(--mint); }
.hero-project-art picture, .hero-project-art img { width: 100%; height: 100%; }
.hero-project-art img { object-fit: contain; object-position: center; }
.hero-software-art { display: grid; place-items: center; min-height: 184px; height: 100%; aspect-ratio: auto; background: var(--mint); }
.hero-code-symbol { color: var(--teal); font: 500 clamp(2.4rem, 4vw, 3.5rem)/1 ui-monospace, Consolas, monospace; letter-spacing: -.08em; }
.hero-project-caption { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.hero-project-software .hero-project-caption { justify-content: center; padding: 24px; }
.hero-project-kind { color: var(--muted); font-size: var(--ml-font-min); line-height: 1.45; }
.hero-project-caption strong { font-size: max(var(--ml-font-min), 1.5rem); line-height: 1.18; font-weight: 650; letter-spacing: -.035em; }
.hero-project-hint { display: flex; gap: 12px; align-items: center; justify-content: space-between; color: var(--teal); font-size: var(--ml-font-min); line-height: 1.45; }

/* Project stories share a grid, spacing scale and restrained surfaces. */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.workshop-section { padding-block: 80px; border-top: 1px solid var(--line); }
.project-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.project-heading { padding: 48px; border-right: 1px solid var(--line); }
.project-copy { align-self: center; padding: 48px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; color: var(--muted); font-size: var(--ml-font-min); }
.project-status { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); }
.project-status i { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; }
.project-heading h3 { font-size: max(var(--ml-font-min), clamp(2.4rem, 4.4vw, 3.75rem)); font-weight: 700; }
.project-heading h3 > span { color: var(--teal); }
.project-copy > p { margin-bottom: 18px; color: var(--muted); }
.project-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 26px; margin-top: 24px; }
.text-link, .secondary-link, .signature { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-block: 8px; font-size: var(--ml-font-min); font-weight: 600; line-height: 1.5; }
.text-link { color: var(--teal); }
.text-link > span[aria-hidden], .signature > span[aria-hidden] { flex: 0 0 auto; }
.secondary-link { font-weight: 400; }
.secondary-link::after { opacity: 1; }
.project-details { margin-top: 24px; border-block: 1px solid var(--line); }
.project-details > summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; font-weight: 600; cursor: pointer; list-style: none; }
.project-details > summary::-webkit-details-marker { display: none; }
.project-details > summary > span { color: var(--teal); font-size: max(var(--ml-font-min), 1.5rem); transition: transform .26s ease; }
.project-details[open] > summary > span { transform: rotate(45deg); }
.project-details[data-ml-disclosure="closing"] > summary > span { transform: none; }
.project-details-body { padding-block: 14px 32px; }
.workshop-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; color: var(--muted); }
.workshop-intro p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block: 40px; }
.feature-note { border-top: 2px solid #94b9a4; padding-top: 24px; }
.feature-symbol { display: block; margin-bottom: 18px; color: var(--teal); font: 500 max(var(--ml-font-min), 1.5rem)/1.5 ui-monospace, Consolas, monospace; }
.feature-note h3 { margin-bottom: 18px; }
.feature-note p, .workshop-outro p { color: var(--muted); }
.workshop-outro { max-width: 52rem; padding-block: 16px; }
.workshop-outro h3 { margin-bottom: 18px; }

/* Artwork and captions stay in normal flow, including on narrow screens. */
.music-universe { background: #e9eee5; }
.music-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "heading visual" "copy visual"; align-content: center; gap: 24px 80px; padding-block: 88px; }
.music-story-heading { grid-area: heading; align-self: end; }
.music-story h2 { font-size: max(var(--ml-font-min), clamp(2.25rem, 3.8vw, 3.25rem)); }
.music-story-copy { grid-area: copy; }
.music-story-copy > p { color: #485e50; }
.music-story-copy .text-link { margin-top: 22px; }
.music-story-visual { grid-area: visual; align-self: center; }
.music-story-visual picture, .music-story-visual > img { overflow: hidden; border-radius: 16px; }
.music-story-visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.music-story-visual figcaption { margin-top: 16px; color: #485e50; font-size: var(--ml-font-min); line-height: 1.5; }
.release-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; padding: 14px 18px; border: 1px solid #bbcdb8; border-radius: 8px; font-size: var(--ml-font-min); }
.release-note time { font-weight: 600; }
.listening-room { padding-bottom: 80px; }
.listening-intro { max-width: 46rem; margin-bottom: 28px; color: var(--muted); }
.listening-symbol { color: var(--teal); font-size: 3rem; line-height: 1; }
.beyond-section { padding-block: 88px; border-bottom: 1px solid var(--line); }
.beyond-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.beyond-copy h2 { margin-bottom: 26px; }
.beyond-copy h2 > span { color: #675775; }
.beyond-copy > p:not(.eyebrow) { max-width: 33rem; color: var(--muted); }
.beyond-copy .beyond-intro { font-size: max(var(--ml-font-min), 1.25rem); color: var(--ink); }
.beyond-copy .beyond-coming-soon { margin-top: 24px; color: #675775; font-weight: 600; }
.beyond-copy .text-link { margin-top: 20px; }
.beyond-visual { align-self: center; }
.beyond-visual picture { overflow: hidden; border-radius: 16px; }
.beyond-landscape { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.beyond-visual figcaption { margin-top: 16px; color: var(--muted); font-size: var(--ml-font-min); line-height: 1.5; }
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; padding-block: 88px; }
.about-copy { color: var(--muted); }
.about-copy p { font-size: max(var(--ml-font-min), 1.25rem); line-height: 1.75; }
.signature { margin-top: 26px; color: var(--ink); }
.ai-section { padding-block: 64px 80px; border-top: 1px solid var(--line); }
.ai-intro { max-width: 46rem; margin-bottom: 36px; color: var(--muted); font-size: max(var(--ml-font-min), 1.25rem); }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.ai-grid article { padding-top: 24px; border-top: 1px solid var(--line); }
.ai-step { display: block; margin-bottom: 20px; color: var(--teal); font-size: var(--ml-font-min); font-weight: 600; }
.ai-grid h3 { margin-bottom: 18px; }
.ai-grid p { color: var(--muted); }
.ai-note { margin-top: 32px; color: var(--muted); font-family: Georgia, serif; font-style: italic; font-size: 1.35rem; }
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; padding-block: 80px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 22px; font-size: var(--ml-font-min); font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--teal); font-size: max(var(--ml-font-min), 1.5rem); line-height: 1; transition: transform .26s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[data-ml-disclosure="closing"] > summary::after { transform: none; }
.faq-list details[open] summary { color: var(--teal); }
.faq-list p { padding-bottom: 24px; color: var(--muted); }
.faq-list p a { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; margin-block: 16px 80px; padding: 56px; border-radius: 18px; background: var(--ink); color: var(--surface); }
.contact .eyebrow { color: #b9cfc2; }
.contact h2 { font-size: max(var(--ml-font-min), clamp(2rem, 3.3vw, 3rem)); }
.contact h2 > span { color: #dbe8c7; }
.contact-copy p { max-width: 28rem; margin-bottom: 24px; color: #e0e8df; }
.contact .button-dark { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.contact .button-dark:hover { background: var(--surface); border-color: var(--surface); }
.contact-email { display: inline-block; max-width: 100%; min-height: 44px; padding-block: 8px; color: inherit; font-size: max(var(--ml-font-min), 1.25rem); font-weight: 600; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 1100px) {
    .wrap { width: calc(100% - 56px); }
    .site-header { gap: 28px; }
    .site-header nav { gap: 24px; }
    .hero { gap: 40px; padding-block: 64px 72px; }
    .hero-project-caption, .hero-project-software .hero-project-caption { padding: 18px; }
    .project-heading, .project-copy { padding: 32px; }
    .music-story, .beyond-panel, .about, .faq { column-gap: 48px; }
    .contact { padding: 40px; gap: 40px; }
}

@media (max-width: 880px) {
    .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 0 24px; padding-top: 8px; }
    .site-header .brand { grid-column: 1; grid-row: 1; }
    .site-header .language-switch { grid-column: 2; grid-row: 1; }
    .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; padding-block: 4px 12px; border-top: 1px solid var(--line); }
    .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 64px; }
    .hero-copy { max-width: 42rem; }
    .hero h1 { font-size: max(var(--ml-font-min), clamp(2.25rem, 8vw, 4rem)); }
    .hero-intro { max-width: 40rem; }
    .hero-gallery { max-width: 42rem; }
    .project-card { grid-template-columns: 1fr; }
    .project-heading { border-right: 0; border-bottom: 1px solid var(--line); }
    .project-heading, .project-copy { padding: 36px; }
    .workshop-intro, .feature-grid { grid-template-columns: 1fr; gap: 26px; }
    .music-story { grid-template-columns: 1fr; grid-template-areas: "heading" "visual" "copy"; gap: 32px; }
    .music-story-visual { max-width: 32rem; }
    .music-story-copy { max-width: 40rem; }
    .beyond-panel, .about, .faq { grid-template-columns: 1fr; gap: 36px; }
    .beyond-visual { max-width: 32rem; }
    .about-copy { max-width: 40rem; }
    .ai-grid { grid-template-columns: 1fr; gap: 28px; }
    .ai-grid article { display: grid; grid-template-columns: minmax(7rem, .32fr) minmax(0, 1fr); gap: 0 24px; }
    .ai-step { grid-column: 1; grid-row: 1 / 3; }
    .ai-grid h3, .ai-grid p { grid-column: 2; }
    .contact { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { gap: 0 16px; }
    .brand { width: min(170px, 100%); padding-block: 18px; }
    .site-header nav { padding-block: 4px 10px; }
    .site-header nav a { font-weight: 500; }
    .hero { padding-block: 40px 56px; gap: 36px; }
    .hero h1 { margin-bottom: 24px; font-size: max(var(--ml-font-min), clamp(2.25rem, 9vw, 3.25rem)); }
    .hero-copy .eyebrow { margin-bottom: 20px; }
    .hero-intro { margin-bottom: 26px; font-size: max(var(--ml-font-min), 1.1875rem); }
    .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .hero-actions .button { padding-inline: 16px; gap: 14px; }
    .hero-gallery { grid-template-columns: 1fr; gap: 12px; }
    .hero-project, .hero-project-software { display: grid; grid-template-columns: minmax(72px, .32fr) minmax(0, 1fr); }
    .hero-project-artist:last-child:nth-child(even) { grid-template-columns: minmax(72px, .32fr) minmax(0, 1fr); }
    .hero-project-art { height: 100%; min-height: 112px; aspect-ratio: auto; }
    .hero-project-caption, .hero-project-software .hero-project-caption { padding: 16px; gap: 8px; }
    .hero-project-caption strong { font-size: max(var(--ml-font-min), 1.3125rem); }
    .hero-software-art { min-height: 112px; }
    .hero-project-hint { display: none; }
    .workshop-section, .music-story, .beyond-section, .about, .ai-section, .faq { padding-block: 56px; }
    .section-heading { margin-bottom: 28px; }
    h2 { font-size: max(var(--ml-font-min), 2.25rem); }
    .project-heading, .project-copy { padding: 28px 24px; }
    .project-meta { margin-bottom: 24px; }
    .project-heading h3 { font-size: max(var(--ml-font-min), 2.75rem); }
    .project-links { align-items: flex-start; flex-direction: column; gap: 8px; }
    .music-story h2 { font-size: max(var(--ml-font-min), 2.25rem); }
    .music-story { gap: 28px; }
    .music-story-visual picture, .beyond-visual picture, .beyond-landscape { border-radius: 12px; }
    .music-story-copy .text-link { margin-top: 18px; }
    .ai-intro { font-size: var(--ml-font-min); }
    .ai-grid article { display: block; }
    .ai-step { margin-bottom: 14px; }
    .faq-list summary { padding-block: 20px; gap: 16px; }
    .contact { padding: 32px 24px; margin-block: 8px 56px; border-radius: 14px; }
    .contact h2 { font-size: max(var(--ml-font-min), 2rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
    .hero-project, .project-card, .contact { border: 1px solid CanvasText; }
    .button { border: 1px solid ButtonText; }
}
