/* BERYL only. Original artwork: no filters, cropping, color edits, or distortion. */
.beryl-project { --gold: #d9c59c; --line: #454b3d; background: #030b08; color: #eae6db; font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif; }
.beryl-project figure { margin: 0; min-width: 0; }
.beryl-project img { display: block; width: 100%; height: auto; }
.beryl-project a { color: inherit; text-decoration: none; }
.beryl-project a:focus-visible, .beryl-project button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.beryl-project .header { z-index: 2; font-family: Arial, sans-serif; color: #f7f7f7; }
.beryl-hero { position: relative; display: grid; grid-template-columns: 42% 58%; align-items: center; padding: 7vw 3.6vw 0; }
.beryl-introduction { padding: 1.5vw 2vw 3vw 0; }
.project-index { font-size: 1.25vw; color: var(--gold); letter-spacing: .12em; margin: 0 0 1vw; }
.beryl-introduction h1 { font-size: 7.7vw; font-weight: 400; letter-spacing: .14em; line-height: 1; margin: 0; }
.beryl-subtitle { font-size: 1.5vw; letter-spacing: .35em; margin: .7vw 0 0; }
.gold-rule { display: block; width: 3vw; height: 1px; background: var(--gold); margin: 1.4vw 0; }
.beryl-introduction h2 { font-size: 1.9vw; font-weight: 400; letter-spacing: .08em; margin: 0 0 1.6vw; }
.hero-description { font-size: 1.15vw; line-height: 1.9; margin: 0; }
.beryl-category { font-size: .95vw; color: var(--gold); letter-spacing: .07em; margin: 2vw 0; }
.hero-scroll { display: inline-flex; gap: 2vw; font-size: .85vw; letter-spacing: .1em; border-bottom: 1px solid var(--line); padding-bottom: .6vw; }
.hero-poster { width: 38vw; justify-self: center; }
.beryl-section { margin: 0 3.6vw; padding: 2vw 0; border-top: 1px solid var(--line); }
.section-label { font-weight: 400; font-size: 1.8vw; line-height: 1.05; letter-spacing: .045em; margin: 0; }
.section-label > span:first-child { display: block; color: var(--gold); font-size: 3vw; margin-bottom: .35vw; }
.beryl-overview { display: grid; grid-template-columns: 38% 22% 36%; gap: 2%; align-items: center; }
.overview-copy h3 { color: var(--gold); font-size: 2vw; font-weight: 400; line-height: 1.4; margin: 1.4vw 0; }
.overview-copy p { font-size: 1.1vw; line-height: 1.85; margin: .7vw 0; padding-right: 2vw; }
.beryl-scope { align-self: center; padding-left: 2vw; }
.beryl-scope h3 { font-size: 1vw; font-weight: 400; color: var(--gold); letter-spacing: .1em; }
.beryl-scope ul { list-style: none; padding: 0; margin: 0; font-size: 1vw; line-height: 2.1; color: var(--gold); }
.overview-crystal img { max-height: 30vw; object-fit: contain; }
.beryl-output { display: grid; grid-template-columns: 18% 28% 50%; gap: 2%; align-items: end; }
.beryl-output > h2 { align-self: start; }
.beryl-project figcaption { color: var(--gold); font-size: 1.15vw; letter-spacing: .1em; margin-top: .9vw; }
.beryl-project figcaption small { display: block; color: #b3b6a9; font-size: .88vw; letter-spacing: .03em; margin-top: .4vw; }
.image-enlarge { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.beryl-materials { display: grid; grid-template-columns: 18% 80%; gap: 2%; }
.beryl-materials > div > p { font-size: 1.05vw; line-height: 1.7; }
.materials-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2vw; }
.materials-grid img { height: 29vw; object-fit: contain; border: 1px solid var(--line); background: #050806; }
.beryl-approach { display: grid; grid-template-columns: 18% 26% 26% 26%; gap: 1.333%; }
.beryl-approach article { padding: 0 1.3vw; }
.approach-number { font-size: 3vw; color: var(--gold); }
.beryl-approach h3 { color: var(--gold); font-size: 1.15vw; font-weight: 400; letter-spacing: .04em; margin: .5vw 0 1vw; }
.beryl-approach p { font-size: 1.05vw; line-height: 1.8; margin: 0; }
.beryl-application { display: grid; grid-template-columns: 18% 31% 45%; gap: 3%; align-items: center; }
.beryl-application > h2 { align-self: start; }
.mockup-copy { padding: 0 3vw; }
.mockup-copy h3 { color: var(--gold); font-size: 1.6vw; font-weight: 400; line-height: 1.4; letter-spacing: .07em; }
.mockup-copy p { font-size: 1.15vw; line-height: 1.8; }
.beryl-next { display: flex; align-items: center; gap: 6vw; padding: 2.5vw 0; }
.beryl-next .section-label { font-size: 1.1vw; }
.beryl-next .section-label > span:first-child { font-size: 1.7vw; }
.beryl-next a { font-size: 1.1vw; color: var(--gold); letter-spacing: .1em; }
.beryl-next a:last-child { margin-left: auto; }
.image-viewer { width: min(96vw,1700px); max-width: 96vw; max-height: 96dvh; padding: 62px 16px 16px; border: 1px solid var(--line); background: #030b08; color: #eae6db; }
.image-viewer::backdrop { background: rgb(0 0 0 / 92%); }
.beryl-project .image-viewer img { width: auto; height: auto; max-width: 100%; max-height: calc(96dvh - 116px); object-fit: contain; margin: auto; }
.viewer-close { position: absolute; top: 12px; right: 16px; min-height: 36px; padding: 6px 12px; background: #101812; color: #fff; border: 1px solid var(--gold); font-size: 14px; cursor: pointer; }
.viewer-caption { margin: 10px 0 0; font-size: 14px; text-align: center; }
html:has(.image-viewer[open]) { overflow: hidden; }
@media(max-width:700px) {
 .beryl-project .brand { top: 20px; left: 20px; }
 .beryl-project .wordmark { font-size: 22px; }
 .beryl-project .brand-message { font-size: 6px; margin-top: 6px; }
 .beryl-project .navigation { top: 84px; left: 20px; right: 20px; justify-content: space-between; font-size: 10px; }
 .beryl-project .header-tools { top: 22px; right: 20px; gap: 12px; }
 .beryl-project .languages { gap: 12px; font-size: 8px; }
 .beryl-project .menu-icon { width: 32px; height: 32px; gap: 4px; }
 .beryl-project .menu-icon i { width: 14px; }
 .beryl-hero { display: flex; flex-direction: column; padding: 118px 20px 24px; gap: 24px; align-items: stretch; }
 .beryl-introduction { padding: 0; }
 .project-index { font-size: 12px; margin-bottom: 12px; }
 .beryl-introduction h1 { font-size: 17vw; }
 .beryl-subtitle { font-size: 14px; letter-spacing: .2em; margin-top: 10px; }
 .gold-rule { width: 28px; margin: 18px 0; }
 .beryl-introduction h2 { font-size: 20px; line-height: 1.6; margin-bottom: 14px; }
 .hero-description { font-size: 14px; }
 .beryl-category { font-size: 12px; margin: 18px 0; }
 .hero-scroll { font-size: 11px; gap: 20px; padding-bottom: 6px; }
 .hero-poster { width: 100%; }
 .beryl-section { margin: 0 20px; padding: 26px 0; }
 .beryl-overview, .beryl-output, .beryl-materials, .beryl-approach, .beryl-application { grid-template-columns: 1fr; gap: 24px; }
 .section-label { font-size: 19px; }
 .section-label > span:first-child { font-size: 30px; margin-bottom: 6px; }
 .overview-copy h3 { font-size: 23px; margin: 20px 0 16px; }
 .overview-copy p { padding-right: 0; font-size: 14px; margin: 12px 0; }
 .beryl-scope { padding-left: 16px; border-left: 1px solid var(--line); }
 .beryl-scope h3 { font-size: 13px; }
 .beryl-scope ul { font-size: 14px; }
 .overview-crystal img { max-height: none; height: auto; }
 .beryl-project figcaption { font-size: 14px; margin-top: 12px; }
 .beryl-project figcaption small { font-size: 12px; margin-top: 6px; }
 .beryl-materials > div > p { font-size: 14px; }
 .materials-grid { grid-template-columns: 1fr; gap: 24px; }
 .materials-grid img { height: auto; }
 .beryl-approach article { padding: 0; }
 .approach-number { font-size: 28px; }
 .beryl-approach h3 { font-size: 15px; margin: 8px 0 12px; }
 .beryl-approach p { font-size: 14px; }
 .mockup-copy { padding: 0; }
 .mockup-copy h3 { font-size: 18px; }
 .mockup-copy p { font-size: 14px; }
 .beryl-next { flex-wrap: wrap; gap: 24px; }
 .beryl-next .section-label { width: 100%; font-size: 14px; }
 .beryl-next .section-label > span:first-child { font-size: 24px; }
 .beryl-next a { font-size: 12px; }
 .image-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 60px 8px 16px; border: 0; }
 .image-viewer[open] { display: flex; flex-direction: column; justify-content: center; }
 .beryl-project .image-viewer img { max-height: calc(100dvh - 140px); }
}
@media(max-width:360px) { .beryl-project .wordmark { font-size: 18px; } .beryl-project .brand-message { font-size: 5px; } }
