/* The photographic gallery and product examples share one cold, dark surface system. */
.home-gallery-hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: center; gap: clamp(32px,calc(4.2vw / var(--site-scale)),78px); padding-block: 44px 72px; }
.home-hero-mosaic { display: grid; grid-template-columns: 1fr 1fr .95fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px,calc(34vw / var(--site-scale)),570px); min-width: 0; }
.home-mosaic-tile { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 22px; background: #0d1220; color: var(--text); text-align: left; isolation: isolate; }
.home-mosaic-tile img, .home-mosaic-tile video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.home-mosaic-film, .home-mosaic-portrait { grid-row: 1/-1; }
.home-mosaic-film video { object-fit: cover; }
.home-mosaic-portrait img { object-position: 49% center; }
.home-mosaic-product img { object-position: 56% center; }
.home-mosaic-scene img { object-position: 50% 30%; }
.home-mosaic-tile::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,transparent 50%,#05070dba); pointer-events: none; }
.home-mosaic-caption { position: absolute; z-index: 2; inset: auto 20px 22px; display: flex; flex-direction: column; gap: 5px; }
.home-mosaic-caption strong { font-size: 18px; font-weight: 650; }
.home-mosaic-caption > span { font-size: 13px; color: #d6d9e7; line-height: 1.5; }
.home-gallery-hero-copy { min-width: 0; }
.home-gallery-hero-copy h1 { font-size: clamp(52px,calc(4.25vw / var(--site-scale)),72px); font-weight: 600; line-height: 1.1; letter-spacing: -.055em; text-wrap: nowrap; }
.home-gallery-hero-copy h1 > span { color: #b8c4ff; }
.home-gallery-hero-copy .home-section-copy { max-width: 470px; margin-top: 25px; font-size: 18px; }
.home-gallery-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.home-gallery-hero-actions > :is(button,a) { min-height: 60px; padding-inline: 26px; font-size: 15px; }
.home-hero-environments { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; color: #909bb9; font-size: 13px; }
.home-hero-environments span { color: #647092; }

.home-task-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-task-card img, .home-task-card:nth-child(2) img { width: 100%; aspect-ratio: 1.04; object-fit: cover; border-radius: 20px; }
.home-task-card { margin: 0; }
.home-centered-heading { text-align: center; margin-bottom: 28px; }
.home-centered-heading h2, .home-session-choice h2, .home-lora-training h2 { font-size: clamp(42px,calc(4.1vw / var(--site-scale)),64px); line-height: 1.13; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.home-centered-heading .home-section-copy { margin-inline: auto; }
.home-switch { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 6px; padding: 6px; border: 1px solid #9cafff23; border-radius: 999px; background: #101425; }
.home-switch button { position: relative; min-height: 48px; padding: 13px 25px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 600; color: #b0b8d0; transition: background .3s,color .3s; white-space: nowrap; }
.home-switch button[aria-selected="true"] { background: #343f67; color: #eef0ff; box-shadow: inset 0 1px #bdc9ff13; }
.home-switch button:hover:not([aria-selected="true"]) { background: #a9baff0b; color: var(--text); }
.home-reference-stories > .home-switch { margin: 0 auto 38px; }
.home-reference-story { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(40px,calc(5vw / var(--site-scale)),88px); }
.home-reference-board { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; gap: 12px; min-height: 500px; padding-block: 30px; }
.home-reference-frame { position: relative; min-width: 0; margin: 0; height: 390px; overflow: hidden; border-radius: 22px; background: #171b2e; box-shadow: 0 25px 65px #0005; }
.home-reference-frame-0 { transform: translateY(34px) rotate(-4deg); z-index: 1; }
.home-reference-frame-1 { height: 470px; z-index: 2; }
.home-reference-frame-2 { transform: translateY(-32px) rotate(4deg); z-index: 1; }
.home-reference-frame img { display: block; height: 100%; object-fit: cover; object-position: center; }
.home-reference-frame::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg,transparent,#060914c9); }
.home-reference-frame figcaption { position: absolute; z-index: 1; left: 18px; bottom: 20px; font-size: 16px; font-weight: 600; }
.home-reference-detail h3 { max-width: 440px; font-size: clamp(32px,calc(2.8vw / var(--site-scale)),44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.16; text-wrap: balance; }
.home-reference-detail .home-section-copy { margin-top: 20px; font-size: 17px; }
.home-reference-notes { display: grid; gap: 16px; margin: 26px 0; padding: 0; list-style: none; }
.home-reference-notes li { display: flex; align-items: center; gap: 15px; font-size: 15px; color: #d1d7ed; }
.home-reference-notes li::before { content: ''; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #aebfff; }
.home-ui-label { display: block; color: #9da9c8; font-size: 13px; font-weight: 550; line-height: 1.5; }

.home-studio-showcase { padding-top: 82px; }
.home-workspace { padding: 0 26px 26px; border: 1px solid #a5baff26; border-radius: 28px; background: linear-gradient(125deg,#1a2139,#0f1423 74%); box-shadow: 0 28px 70px #0004; }
.home-workspace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 92px; }
.home-workspace-toolbar > strong { font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.home-workspace-toolbar-label { font-size: 14px; color: #a6b2ce; }
.home-workspace-toolbar .home-switch { border-color: transparent; background: #080d1c7a; }
.home-workspace-panel { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 26px; }
.home-workspace-controls { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 20px 12px 12px 0; min-width: 0; }
.home-workspace-workflow h3 { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.035em; margin-top: 12px; }
.home-workspace-prompt { padding: 20px; border-radius: 20px; background: #0b1020a8; border: 1px solid #aabfff16; }
.home-workspace-prompt p { color: #dce2f4; font-size: 15px; line-height: 1.7; margin-top: 12px; }
.home-workspace-settings { display: grid; grid-template-columns: 1fr auto; gap: 18px 12px; align-items: start; font-size: 14px; line-height: 1.7; padding-inline: 4px; }
.home-workspace-settings > span { color: #99a5c2; }
.home-workspace-settings > strong { color: #dce3f7; font-size: 13px; font-weight: 500; text-align: right; }
.home-workspace-controls > button { margin-top: auto; min-height: 58px; font-size: 14px; padding-inline: 18px; }
.home-workspace-output { display: flex; flex-direction: column; min-width: 0; gap: 18px; }
.home-workspace-output-heading { display: flex; justify-content: space-between; gap: 20px; color: #bfc9e3; font-size: 13px; line-height: 1.5; }
.home-workspace-output-heading > :last-child { color: #8796b9; font-size: 12px; }
.home-workspace-stage { position: relative; width: 100%; height: 410px; overflow: hidden; border: 0; border-radius: 22px; background: #090d17; }
.home-workspace-stage > :is(img,video) { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.home-workspace-stage > video { object-fit: contain; }
.home-workspace-stage > span { position: absolute; inset: auto auto 18px 18px; padding: 9px 16px; border-radius: 999px; background: #0c142bc9; backdrop-filter: blur(16px); color: #c9d5f3; font-size: 12px; }
.home-workspace-history { display: flex; gap: 12px; }
.home-workspace-thumbnail { position: relative; flex: 1; height: 95px; min-width: 0; overflow: hidden; border: 0; border-radius: 15px; background: #111729; opacity: .5; transition: opacity .3s,background .3s; }
.home-workspace-thumbnail > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-workspace-thumbnail > span { position: absolute; inset: auto auto 10px 12px; color: #edf1ff; font-size: 12px; text-shadow: 0 2px 8px #000; }
.home-workspace-thumbnail[aria-pressed="true"], .home-workspace-thumbnail:hover { opacity: 1; }
.home-workspace-output-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; min-width: 0; height: 530px; }
.home-workspace-output-card { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid #abc1ff17; border-radius: 20px; background: #0a0f1c; }
.home-workspace-output-card > img, .home-workspace-output-card > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-workspace-output-card > video { object-fit: contain; }
.home-workspace-output-card > span { position: absolute; left: 16px; bottom: 16px; min-width: 34px; padding: 8px 11px; border-radius: 999px; background: #0c1529be; backdrop-filter: blur(12px); color: #c5d1f4; font-size: 11px; }
.home-example-viewer { width: min(calc(calc(100vw / var(--site-scale)) - 40px),1000px); max-width: none; max-height: calc(calc(100dvh / var(--site-scale)) - 40px); border: 1px solid #acbfff40; border-radius: 26px; padding: 20px; background: #101729; color: var(--text); box-shadow: 0 30px 120px #0009; }
.home-example-viewer::backdrop { background: #030610da; backdrop-filter: blur(14px); }
.home-example-viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.home-example-viewer-head h3 { font-size: 19px; }
.home-example-viewer-head .home-link { padding: 10px 20px; min-height: 44px; font-size: 13px; }
.home-example-viewer-media { border-radius: 16px; background: #060a12; overflow: hidden; }
.home-example-viewer-media > :is(img,video) { display: block; width: 100%; height: min(calc(75dvh / var(--site-scale)),800px); object-fit: contain; }

.home-session-showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px,calc(7vw / var(--site-scale)),112px); padding-block: 84px; }
.home-session-visual { position: relative; height: 650px; border-radius: 28px; overflow: hidden; background: #131c38; }
.home-session-visual > img { display: block; height: 100%; object-fit: cover; object-position: center 38%; }
.home-session-visual::after { content: ''; position: absolute; inset: 20% 0 0; background: linear-gradient(180deg,transparent 35%,#070c18f0); }
.home-session-visual-copy { position: absolute; inset: auto 36px 32px; z-index: 1; }
.home-session-visual-copy .home-ui-label { color: #c6d0ff; }
.home-session-visual-copy h3 { margin-top: 12px; max-width: 380px; font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.home-session-visual-copy > p { margin-top: 16px; color: #b3bfde; font-size: 13px; line-height: 1.6; }
.home-session-choice { min-width: 0; }
.home-session-choice > .home-section-copy { max-width: 470px; font-size: 18px; margin-top: 20px; }
.home-session-choice form { margin-top: 30px; }
.home-task-picker { position: relative; z-index: 3; }
.home-task-picker > .home-ui-label { margin-bottom: 12px; }
.home-task-picker-trigger { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 66px; padding: 16px 25px; border: 1px solid #a7bcff36; border-radius: 999px; background: #141b31; color: #e7ecff; font-size: 17px; font-weight: 600; text-align: left; transition: background .3s; }
.home-task-picker-trigger:hover, .home-task-picker-trigger[aria-expanded="true"] { background: #1c2540; }
.home-task-picker-trigger:focus:not(:focus-visible) { outline: none; }
.home-task-picker-trigger svg { width: 20px; height: 20px; fill: none; stroke: #adbbee; stroke-width: 1.5; transition: transform .25s; }
.home-task-picker-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.home-task-options { position: absolute; inset: calc(100% + 10px) 0 auto; padding: 9px; border: 1px solid #a9baff29; border-radius: 26px; background: #171e34f7; backdrop-filter: blur(24px); box-shadow: 0 20px 55px #0009; }
.home-task-options[hidden] { display: none; }
.home-task-options > button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 72px; padding: 12px 18px; border: 0; border-radius: 18px; color: #e4e8f7; text-align: left; transition: background .2s; }
.home-task-options > button strong { display: block; font-size: 15px; font-weight: 600; }
.home-task-options > button small { display: block; margin-top: 4px; color: #a8b3ce; font-size: 12px; }
.home-task-options > button:hover { background: #303c60; }
.home-task-options > button[aria-selected="true"] { background: #263252; }
.home-task-options > button:focus-visible { background: #344365; outline: none; box-shadow: inset 0 0 0 2px #c2d0ff70; }
.home-option-check { color: #c2ceff; opacity: 0; }
.home-task-options > button[aria-selected="true"] .home-option-check { opacity: 1; }
.home-time-label { margin-top: 26px; }
.home-session-time { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.home-session-time > button { display: flex; align-items: baseline; justify-content: center; gap: 10px; min-height: 104px; padding: 20px 16px; border-radius: 999px; color: #919cb8; background: #141a2b; transition: color .35s,background .35s; }
.home-session-time > button[aria-pressed="true"] { background: #3c4b78; color: #e8eeff; }
.home-session-time > button:hover:not([aria-pressed="true"]) { background: #202a43; color: var(--text); }
.home-session-time > button > strong { font-size: 54px; line-height: 1; font-weight: 550; letter-spacing: -.05em; }
.home-session-time > button > span { font-size: 15px; line-height: 1.35; }
.home-session-time > button:last-child { align-items: center; }
.home-custom-duration { justify-content: flex-start; margin-top: 20px; }
.home-custom-duration input { width: 130px; background: #171f35; border-radius: 999px; font-size: 16px; }
.home-session-next { width: 100%; min-height: 62px; margin-top: 26px; font-size: 16px; }
.home-session-next-note { text-align: center; color: #929eba; font-size: 12px; margin-top: 15px; }

.home-lora-training { padding-block: 80px 42px; background: radial-gradient(ellipse 100% 100% at 0 0,#26315a6b,transparent 70%),linear-gradient(140deg,#12172c,#0c101e 85%); border-block: 1px solid #bdc8ff18; }
.home-lora-training-heading { display: grid; grid-template-columns: 1fr 1.12fr; align-items: end; gap: 80px; margin-bottom: 52px; }
.home-lora-training-heading h2 > span { color: #b3c0ff; }
.home-lora-training-heading .home-section-copy { max-width: 590px; margin-top: 0; }
.home-lora-proof-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home-lora-proof-title h3 { font-size: 23px; line-height: 1.4; font-weight: 600; letter-spacing: -.03em; }
.home-lora-proof-title p { font-size: 14px; color: #a3afcf; line-height: 1.6; }
.home-lora-proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-lora-proof figure { min-width: 0; margin: 0; }
.home-lora-proof-photo { overflow: hidden; border-radius: 22px; background: var(--image-bg); }
.home-lora-proof-photo img { display: block; width: 100%; height: auto; object-fit: contain; aspect-ratio: 1256/1672; }
.home-lora-proof figcaption { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 18px; font-size: 15px; line-height: 1.6; }
.home-lora-proof figcaption > span:last-child { font-size: 12px; color: var(--muted); }
.home-lora-proof-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-top: 28px; margin-top: 30px; border-top: 1px solid #adbfff1c; color: #a5b0ce; font-size: 14px; line-height: 1.7; }
.home-lora-proof-footer > a { color: #c8d2ff; font-size: 13px; }
.lora-page .home-lora-proof { margin-bottom: 30px; }
.lora-page .home-lora-proof-title { margin-top: 60px; }

.home-free-library { padding-block: 82px; }
.home-free-library .home-heading > :last-child { max-width: 550px; }
.home-free-library .home-heading .home-section-copy { margin-top: 0; }
.home-free-library .home-heading .home-link { margin-top: 22px; }
.home-material-list { display: grid; margin-top: 42px; }
.home-resource-row { display: grid; grid-template-columns: 132px minmax(0,1fr) auto; gap: 30px; align-items: center; padding: 24px 0; border-top: 1px solid #a6b9ec20; }
.home-resource-row > img { display: block; width: 132px; height: 104px; object-fit: cover; border-radius: 16px; }
.home-resource-row h3 { margin: 9px 0 7px; font-size: clamp(20px,calc(2vw / var(--site-scale)),28px); line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.home-resource-row > div > p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); }
.home-resource-row > button { min-height: 52px; padding-inline: 25px; font-size: 14px; }
.home-material-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.home-material-card { min-width: 0; }
.home-material-image { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 22px; background: #101628; }
.home-material-image img { display: block; width: 100%; aspect-ratio: 1.3; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.home-material-card:nth-child(2) .home-material-image img { object-position: center 20%; }
.home-material-image > span { position: absolute; left: 20px; bottom: 20px; padding: 9px 15px; border: 1px solid #c3d1ff20; border-radius: 999px; backdrop-filter: blur(12px); background: #0b1121c9; color: #e0e6f8; font-size: 12px; }
.home-material-copy { padding: 24px 2px 0; }
.home-material-copy h3 { margin-top: 12px; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.home-material-copy > p:not(.home-ui-label) { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.home-material-copy > button { margin-top: 22px; min-height: 52px; padding-inline: 24px; font-size: 14px; }
.home-custom-services { position: relative; isolation: isolate; overflow: hidden; padding-block: 88px; background: radial-gradient(ellipse at 78% 40%,#283f8055,transparent 58%),radial-gradient(ellipse at 95% 100%,#185d7133,transparent 55%),#0a1020; border-block: 1px solid #abc0ff1b; }
.home-custom-services > .home-wrap { position: static; }
.home-custom-service { display: flex; align-items: center; min-height: 560px; }
.home-custom-service-copy { position: relative; z-index: 2; width: 52%; max-width: 730px; text-shadow: 0 2px 18px #080e20; }
.home-custom-service-copy h2 { font-family: var(--font-display); font-size: clamp(60px,calc(5.5vw / var(--site-scale)),88px); line-height: 1.07; font-weight: 600; letter-spacing: -.055em; }
.home-custom-service-copy h2 span { color: #b0bcff; }
.home-custom-service-copy > .home-section-copy { max-width: 540px; margin-top: 28px; color: #b3bfd8; font-size: 19px; }
.home-custom-delivery { display: flex; flex-wrap: wrap; gap: 12px 23px; margin-top: 28px; padding: 0; list-style: none; font-size: 13px; line-height: 1.6; color: #c0cbe5; }
.home-custom-delivery li { display: flex; align-items: center; gap: 9px; }
.home-custom-delivery li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #9caeff; }
.home-custom-service-copy > a { margin-top: 36px; min-height: 64px; padding-inline: 34px; }
.home-custom-service-visual { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.home-custom-service-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0a1020ef 0%,#0a1020d9 31%,#0a102080 47%,transparent 72%),linear-gradient(180deg,#0a10204d,transparent 24%,transparent 80%,#0a10204d); }
.home-custom-graph { width: 100%; height: 100%; padding: 0; }
.home-custom-graph svg { display: block; width: 100%; height: 100%; overflow: visible; }
.workflow-art-flow { stroke-dasharray: 12 188; stroke-dashoffset: 12; opacity: 0; filter: drop-shadow(0 0 5px currentColor); animation: workflow-signal 8s linear infinite; }
.workflow-art-node-glow { opacity: 0; filter: drop-shadow(0 0 12px #8a9eff70); animation: workflow-node-pulse 8s ease-out infinite; }
.workflow-art-node-header { animation: workflow-node-header 8s ease-out infinite; }
.workflow-art-flow, .workflow-art-node-glow, .workflow-art-node-header { animation-delay: var(--flow-delay); animation-play-state: paused; }
[data-graph-visible="true"] .workflow-art-flow, [data-graph-visible="true"] .workflow-art-node-glow, [data-graph-visible="true"] .workflow-art-node-header { animation-play-state: running; }
@keyframes workflow-signal {
  0% { opacity: 0; stroke-dashoffset: 12; }
  2% { opacity: 1; }
  15% { opacity: 1; stroke-dashoffset: -100; }
  19%, 100% { opacity: 0; stroke-dashoffset: -110; }
}
@keyframes workflow-node-pulse {
  0%, 28%, 100% { opacity: 0; }
  5%, 13% { opacity: 1; }
}
@keyframes workflow-node-header {
  0%, 28%, 100% { fill: var(--graph-header, var(--surface)); }
  5%, 13% { fill: var(--graph-header-active, var(--surface-hover)); }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-art-flow, .workflow-art-node-glow { animation: none; opacity: 0; }
  .workflow-art-node-header { animation: none; }
}
.home-custom-lora-visual { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; height: 100%; padding: 26px; align-items: center; }
.home-custom-lora-visual img { display: block; width: 100%; aspect-ratio: 1256/1672; height: auto; border-radius: 16px; }
.home-custom-lora-visual img:nth-child(1) { transform: translateY(28px); }
.home-custom-lora-visual img:nth-child(3) { transform: translateY(-28px); }

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .home-mosaic-tile:hover img, .home-material-image:hover img { transform: scale(1.04); }
  .home-mosaic-tile:hover::after { background: linear-gradient(180deg,transparent 60%,#081127c9); }
}
@media (max-width:1320px) {
  .home-gallery-hero { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .home-gallery-hero-copy h1 { font-size: 50px; }
  .home-gallery-hero-actions { flex-direction: column; align-items: stretch; max-width: 270px; }
  .home-mosaic-caption { inset: auto 15px 18px; }
  .home-mosaic-caption strong { font-size: 16px; }
  .home-mosaic-caption > span { font-size: 11px; }
  .home-hero-environments { font-size: 12px; gap: 8px; }
  .home-reference-story { gap: 34px; }
  .home-reference-board { min-height: 450px; gap: 8px; }
  .home-reference-frame { height: 320px; border-radius: 18px; }
  .home-reference-frame-1 { height: 390px; }
  .home-workspace-panel { grid-template-columns: 260px minmax(0,1fr); gap: 20px; }
  .home-workspace-output-gallery { height: 510px; gap: 12px; }
  .home-session-visual { height: 600px; }
  .home-session-showcase { gap: 48px; }
  .home-lora-training-heading { gap: 50px; }
}
@media (max-width:1056px) {
  .home-gallery-hero { grid-template-columns: 1fr; gap: 34px; padding-top: 34px; }
  .home-gallery-hero-copy { grid-row: 1; text-align: center; }
  .home-gallery-hero-copy h1 { font-size: 68px; }
  .home-gallery-hero-copy .home-section-copy { max-width: 570px; margin-inline: auto; }
  .home-gallery-hero-actions { max-width: none; flex-direction: row; justify-content: center; }
  .home-hero-environments { justify-content: center; margin-top: 24px; }
  .home-hero-mosaic { height: 490px; }
  .home-reference-story { grid-template-columns: 1fr; gap: 26px; }
  .home-reference-board { max-width: 740px; width: 100%; margin-inline: auto; }
  .home-reference-detail { max-width: 640px; margin-inline: auto; text-align: center; }
  .home-reference-detail h3 { max-width: none; }
  .home-reference-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 22px; }
  .home-reference-notes li { font-size: 13px; }
  .home-workspace-toolbar { gap: 12px; }
  .home-workspace-toolbar-label { display: none; }
  .home-workspace { padding-inline: 20px; padding-bottom: 20px; }
  .home-workspace-panel { grid-template-columns: 210px minmax(0,1fr); gap: 16px; }
  .home-workspace-output-gallery { height: 540px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-workspace-output-card:last-child { display: none; }
  .home-workspace-output-heading { flex-direction: column; gap: 5px; }
  .home-workspace-workflow h3 { font-size: 21px; }
  .home-workspace-controls { gap: 20px; padding-right: 0; }
  .home-workspace-prompt { padding: 16px; }
  .home-workspace-prompt p { font-size: 13px; }
  .home-workspace-settings { grid-template-columns: 1fr; gap: 8px; }
  .home-workspace-settings > strong { text-align: left; margin-bottom: 8px; }
  .home-workspace-controls > button { font-size: 13px; padding-inline: 14px; }
  .home-workspace-stage { height: 430px; }
  .home-session-showcase { gap: 30px; }
  .home-session-visual { height: 600px; }
  .home-session-choice h2 { font-size: 46px; }
  .home-session-choice > .home-section-copy { font-size: 16px; }
  .home-session-time > button { padding-inline: 8px; gap: 6px; min-height: 86px; }
  .home-session-time > button > strong { font-size: 43px; }
  .home-session-time > button > span { font-size: 13px; }
  .home-lora-training-heading { grid-template-columns: 1fr; gap: 26px; }
  .home-lora-proof-title { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-lora-proof figcaption { flex-direction: column; gap: 4px; }
  .home-material-gallery { gap: 18px; }
  .home-material-copy h3 { font-size: 22px; }
  .home-custom-service-copy { width: 58%; }
}
@media (max-width:770px) {
  .home-workspace-stage { height: 340px; }
  .home-workspace-history { gap: 8px; }
  .home-workspace-thumbnail { height: 70px; }
  .home-resource-row { grid-template-columns: 82px minmax(0,1fr); gap: 15px; padding: 22px 0; }
  .home-resource-row > img { width: 82px; height: 102px; grid-row: span 2; }
  .home-resource-row h3 { font-size: 20px; }
  .home-resource-row .home-ui-label { font-size: 11px; }
  .home-resource-row > div > p:last-child { font-size: 13px; }
  .home-resource-row > button { justify-self: start; font-size: 12px; min-height: 44px; padding-inline: 20px; }
  .home-gallery-hero { padding-block: 32px 42px; gap: 30px; }
  .home-gallery-hero-copy h1 { font-size: clamp(43px,calc(11.5vw / var(--site-scale)),67px); letter-spacing: -.05em; }
  .home-gallery-hero-copy .home-kicker { font-size: 13px; margin-bottom: 16px; }
  .home-gallery-hero-copy .home-section-copy { font-size: 16px; margin-top: 22px; }
  .home-gallery-hero-actions { margin-top: 24px; gap: 10px; }
  .home-gallery-hero-actions > :is(button,a) { width: 100%; min-height: 56px; font-size: 14px; }
  .home-hero-mosaic { height: clamp(330px,calc(80vw / var(--site-scale)),470px); gap: 10px; grid-template-columns: 1fr 1fr; }
  .home-mosaic-portrait { display: none; }
  .home-mosaic-tile { border-radius: 17px; }
  .home-mosaic-film { grid-column: 1; }
  .home-mosaic-caption { inset: auto 14px 16px; }
  .home-mosaic-caption > span { display: none; }
  .home-task-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 0 0 14px; scrollbar-width: thin; scrollbar-color: #4a577d transparent; }
  .home-task-card { flex: 0 0 88%; scroll-snap-align: start; }
  .home-task-card img, .home-task-card:nth-child(2) img, .home-task-card:nth-child(3) img { aspect-ratio: 1.04; border-radius: 18px; }
  .home-task-card:nth-child(3) { grid-column: auto; }
  .home-centered-heading h2 { font-size: 39px; }
  .home-switch { gap: 3px; padding: 5px; }
  .home-switch button { min-height: 44px; padding: 12px 17px; font-size: 13px; }
  .home-reference-stories > .home-switch { margin-bottom: 14px; }
  .home-reference-board { min-height: 315px; gap: 6px; padding-block: 25px; }
  .home-reference-frame { height: 240px; border-radius: 14px; }
  .home-reference-frame-1 { height: 290px; }
  .home-reference-frame-0 { transform: translateY(17px) rotate(-4deg); }
  .home-reference-frame-2 { transform: translateY(-17px) rotate(4deg); }
  .home-reference-frame figcaption { bottom: 13px; left: 10px; font-size: 12px; }
  .home-reference-detail h3 { font-size: 32px; }
  .home-reference-detail .home-kicker { font-size: 12px; }
  .home-reference-detail .home-section-copy { font-size: 16px; }
  .home-reference-notes { flex-direction: column; align-items: center; gap: 12px; }
  .home-studio-showcase { padding-top: 50px; }
  .home-workspace { margin-top: 30px; padding: 0 14px 14px; border-radius: 23px; }
  .home-workspace-toolbar { min-height: 112px; flex-wrap: wrap; justify-content: center; padding-block: 16px; gap: 12px; }
  .home-workspace-toolbar > strong { width: 100%; font-size: 13px; }
  .home-workspace-toolbar .home-switch { width: 100%; justify-content: center; }
  .home-workspace-toolbar .home-switch button { flex: 1; padding-inline: 10px; font-size: 12px; }
  .home-workspace-panel { display: flex; flex-direction: column; gap: 20px; }
  .home-workspace-output { order: -1; }
  .home-workspace-output-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 430px; gap: 12px; }
  .home-workspace-output-card { flex: 0 0 88%; scroll-snap-align: start; border-radius: 17px; }
  .home-workspace-output-card:last-child { display: block; }
  .home-workspace-output-card > img { object-fit: contain; }
  .home-workspace-output-heading { flex-direction: row; font-size: 11px; gap: 10px; }
  .home-workspace-output-heading > :last-child { font-size: 10px; }
  .home-example-viewer { width: calc(calc(100vw / var(--site-scale)) - 24px); padding: 14px; border-radius: 21px; }
  .home-example-viewer-head { gap: 12px; }
  .home-example-viewer-head h3 { font-size: 16px; }
  .home-workspace-controls { padding: 2px 4px 8px; gap: 18px; }
  .home-workspace-workflow h3 { font-size: 25px; margin-top: 8px; }
  .home-workspace-prompt p { font-size: 14px; }
  .home-workspace-settings { grid-template-columns: 1fr auto; gap: 12px; }
  .home-workspace-settings > strong { text-align: right; margin: 0; }
  .home-workspace-controls > button { font-size: 14px; }
  .home-session-showcase { grid-template-columns: 1fr; gap: 32px; padding-block: 50px; }
  .home-session-visual { height: 390px; border-radius: 22px; }
  .home-session-visual-copy { inset: auto 24px 24px; }
  .home-session-visual-copy h3 { font-size: 31px; }
  .home-session-visual-copy > p { font-size: 12px; }
  .home-session-choice h2 { font-size: 42px; }
  .home-session-choice > .home-section-copy { font-size: 16px; }
  .home-task-picker-trigger { min-height: 60px; font-size: 16px; }
  .home-session-time { gap: 10px; }
  .home-session-time > button { min-height: 96px; }
  .home-session-time > button > strong { font-size: 48px; }
  .home-session-time > button > span { font-size: 14px; }
  .home-lora-training { padding-block: 52px 34px; }
  .home-lora-training-heading { margin-bottom: 34px; }
  .home-lora-training h2 { font-size: 46px; }
  .home-lora-training-heading .home-section-copy { font-size: 16px; }
  .home-lora-training-heading .home-product-actions { flex-direction: column; }
  .home-lora-training-heading .home-product-actions > a { width: 100%; }
  .home-lora-proof-title h3 { font-size: 22px; }
  .home-lora-proof { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: #54658f transparent; }
  .home-lora-proof figure { flex: 0 0 88%; scroll-snap-align: start; }
  .home-lora-proof-photo { border-radius: 18px; }
  .home-lora-proof figcaption { flex-direction: row; font-size: 14px; }
  .home-lora-proof-footer { flex-direction: column; align-items: flex-start; gap: 15px; font-size: 13px; margin-top: 18px; padding-top: 22px; }
  .home-free-library { padding-block: 50px; }
  .home-free-library .home-heading > :last-child { margin-top: 20px; }
  .home-material-gallery { grid-template-columns: 1fr; gap: 36px; margin-top: 30px; }
  .home-material-image img { aspect-ratio: 1.35; }
  .home-material-copy { padding-top: 20px; }
  .home-material-copy h3 { font-size: 25px; }
  .home-custom-services { padding-block: 50px; }
  .home-custom-service { min-height: 490px; align-items: flex-start; padding-top: 20px; }
  .home-custom-service-copy { width: 100%; }
  .home-custom-service-copy h2 { font-size: clamp(44px,calc(11.8vw / var(--site-scale)),60px); letter-spacing: -.05em; }
  .home-custom-service-copy .home-section-copy { font-size: 16px; margin-top: 24px; }
  .home-custom-delivery { gap: 10px 17px; margin-top: 24px; font-size: 12px; }
  .home-custom-service-visual::after { background: linear-gradient(180deg,#0a1020ed 0%,#0a1020ed 48%,#0a102080 76%,#0a10204d); }
  .home-custom-lora-visual { padding: 18px; gap: 9px; }
  .home-custom-lora-visual img { border-radius: 13px; }
}
@media (max-width:385px) {
  .home-gallery-hero-copy h1 { font-size: 43px; }
  .home-switch button { padding-inline: 13px; font-size: 12px; }
  .home-centered-heading h2 { font-size: 35px; }
  .home-reference-frame { height: 205px; }
  .home-reference-frame-1 { height: 250px; }
  .home-reference-board { min-height: 280px; }
  .home-workspace-output-gallery { height: 370px; }
  .home-session-time > button > strong { font-size: 40px; }
  .home-session-time > button > span { font-size: 12px; }
  .home-lora-proof figcaption { flex-direction: column; }
}
@media (prefers-reduced-motion:reduce) {
  .home-mosaic-tile img, .home-material-image img, .home-task-picker-trigger, .home-task-picker-trigger svg { transition: none; }
}

/* Workflow collection: four photographic examples beside the product introduction. */
.home-workflows { padding-block: 76px 86px; background: radial-gradient(ellipse 70% 110% at 20% 35%,#29375b24,transparent 80%),linear-gradient(120deg,#0c101b,#090b14 80%); }
.home-workflow-showcase { display: grid; grid-template-columns: minmax(0,2.05fr) minmax(340px,1fr); align-items: center; gap: clamp(32px,calc(3.7vw / var(--site-scale)),68px); max-width: 1760px; }
.home-workflow-gallery { display: grid; grid-template-columns: 1.08fr .88fr 1.05fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 14px; height: clamp(340px,calc(26vw / var(--site-scale)),470px); min-width: 0; }
.home-workflow-tile { position: relative; isolation: isolate; display: block; overflow: hidden; min-width: 0; min-height: 0; border-radius: 20px; background: #121725; color: #f4f5ff; }
.home-workflow-tile-tall { grid-row: 1/-1; }
.home-workflow-tile-wide { grid-column: 3; }
.home-workflow-tile > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22,1,.36,1),filter .65s; }
.home-workflow-tile-1 > img { object-position: 50% 54%; }
.home-workflow-tile-2 > img { object-position: 50% 27%; }
.home-workflow-tile-3 > img { object-position: 50% 44%; }
.home-workflow-tile-4 > img { object-position: 49% 43%; }
.home-workflow-tile::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,transparent 35%,#07091414 48%,#070914c9 100%); transition: opacity .6s; pointer-events: none; }
.home-workflow-tile-caption { position: absolute; z-index: 2; inset: auto 22px 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.home-workflow-tile-caption > span { color: #d0d4e4; font-size: 13px; font-weight: 500; line-height: 1.5; }
.home-workflow-tile-caption > strong { color: #f4f5ff; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.home-workflow-gallery-copy { min-width: 0; }
.home-workflow-gallery-copy .home-kicker { margin-bottom: 22px; font-size: 13px; color: #b0bce7; }
.home-workflow-gallery-copy h2 { font-size: clamp(36px,calc(2.9vw / var(--site-scale)),54px); font-weight: 600; line-height: 1.14; letter-spacing: -.045em; }
.home-workflow-gallery-copy h2 > span { display: block; }
.home-workflow-gallery-copy h2 > span:last-child { color: #b0bdff; }
.home-workflow-gallery-copy .home-section-copy { margin-top: 24px; max-width: 470px; font-size: 17px; line-height: 1.7; }
.home-workflow-gallery-copy .home-button { min-height: 60px; margin-top: 28px; padding-inline: 32px; font-size: 16px; }
.home-workflow-pack-details { margin-top: 24px; color: #909ab4; font-size: 13px; line-height: 1.6; }
.home-workflow-tile:focus-visible { outline: 2px solid #b4c0ff; outline-offset: 5px; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .home-workflow-tile:hover > img { transform: scale(1.045); filter: brightness(1.07); }
  .home-workflow-tile:hover .home-workflow-tile-caption { transform: translateY(-4px); }
  .home-workflow-tile:hover::after { opacity: .87; }
}
@media (max-width:1210px) {
  .home-workflow-showcase { grid-template-columns: 1fr; gap: 36px; }
  .home-workflow-gallery-copy { grid-row: 1; max-width: 660px; }
  .home-workflow-gallery-copy h2 { font-size: 48px; }
  .home-workflow-gallery-copy .home-section-copy { max-width: 620px; }
  .home-workflow-gallery { height: clamp(350px,calc(42vw / var(--site-scale)),460px); }
}
@media (max-width:770px) {
  .home-workflows { padding-block: 54px 58px; }
  .home-workflow-showcase { gap: 30px; }
  .home-workflow-gallery-copy .home-kicker { margin-bottom: 16px; font-size: 12px; }
  .home-workflow-gallery-copy h2 { font-size: clamp(34px,calc(9.2vw / var(--site-scale)),46px); }
  .home-workflow-gallery-copy .home-section-copy { margin-top: 20px; font-size: 16px; }
  .home-workflow-gallery-copy .home-button { min-height: 56px; margin-top: 24px; padding-inline: 28px; font-size: 15px; }
  .home-workflow-pack-details { margin-top: 18px; font-size: 12px; }
  .home-workflow-gallery { height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto auto; gap: 12px; }
  .home-workflow-tile { border-radius: 16px; }
  .home-workflow-tile-tall { grid-row: auto; aspect-ratio: .7; }
  .home-workflow-tile-wide { grid-column: auto; aspect-ratio: 1.05; }
  .home-workflow-tile-caption { inset: auto 15px 16px; gap: 5px; }
  .home-workflow-tile-caption > span { font-size: 11px; }
  .home-workflow-tile-caption > strong { font-size: 15px; }
}
@media (prefers-reduced-motion:reduce) {
  .home-workflow-tile > img, .home-workflow-tile-caption, .home-workflow-tile::after { transition: none; }
}

/* Gallery media gently return to their original brightness on hover. */
@media (hover:hover) and (pointer:fine) {
  .home-page :is(img,video), .home-lora-proof img {
    filter: brightness(.9);
    transition: filter .65s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,1,.36,1);
  }
  .home-page :is(img,video):hover,
  .home-page :is(figure,.home-task-card,.home-workflow-tile,.home-reference-frame,.home-session-visual,.home-workspace-stage,.home-mosaic-tile):hover :is(img,video),
  .home-page :is(button,a):focus-visible :is(img,video),
  .home-lora-proof figure:hover img {
    filter: brightness(1);
  }
  .home-page .home-example-viewer :is(img,video) { filter: none; }
}
@media (prefers-reduced-motion:reduce) {
  .home-page :is(img,video), .home-lora-proof img { transition: none; }
}
