/* Jerry Studio — stories, creative works and partner services */
:root{--story-gold:#e0bd83;--story-cream:#eee7db}
section[id]{scroll-margin-top:24px}
.site-nav{gap:clamp(14px,2vw,28px)}
.site-nav a:focus-visible,.social-links a:focus-visible,.novel-related:focus-visible{outline:2px solid var(--lime);outline-offset:6px;border-radius:3px}
.novel-section{padding:90px var(--edge) 100px;background:#0d111b;border-top:1px solid var(--line)}
.novel-header{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:end;margin-bottom:38px}
.novel-header .section-kicker{color:var(--story-gold)}
.novel-header h2{font-size:clamp(32px,4.2vw,66px);line-height:1.1;letter-spacing:-.065em;margin:18px 0 0;max-width:710px;text-wrap:balance}
.novel-intro{font-size:14px;line-height:1.85;color:#c0c3ce;max-width:455px;margin:0}
.novel-body{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,60px)}
.novel-world{position:relative;overflow:hidden;border-radius:24px;min-height:505px;background:#191b23;border:1px solid rgba(224,189,131,.3)}
.novel-world>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.75)}
.novel-world:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,10,18,.06),rgba(8,10,18,.18) 26%,rgba(8,10,18,.93))}
.novel-world-caption{position:absolute;left:32px;bottom:30px;right:28px;z-index:1}
.novel-world-caption>span{font-size:9px;letter-spacing:.17em;color:#f1dcc0}
.novel-world-caption strong{display:block;font-size:clamp(47px,5.8vw,87px);letter-spacing:-.045em;line-height:.94;margin-top:19px;font-weight:850}
.novel-world-caption p{color:#d1c5b5;font-size:11px;letter-spacing:.06em;line-height:1.8;margin-top:22px}
.novel-library{padding:0 0 2px;display:flex;flex-direction:column;justify-content:space-between}
.book-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(224,189,131,.45)}
.book-list li{display:flex;align-items:center;gap:24px;padding:17px 8px;border-bottom:1px solid rgba(224,189,131,.2);min-height:83px}
.book-number{font-size:25px;color:var(--story-gold);font-variant-numeric:tabular-nums;letter-spacing:-.07em;min-width:36px}
.book-volume{font-size:9px;color:#b2a58e;letter-spacing:.16em}
.book-list h3{font-size:clamp(20px,2.15vw,30px);line-height:1.13;margin:4px 0 0;letter-spacing:-.035em;font-weight:680}
.book-line{height:1px;flex:1;min-width:15px;margin-left:12px;background:linear-gradient(90deg,rgba(224,189,131,.35),transparent)}
.novel-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding-top:27px}
.novel-actions .button-primary{background:var(--story-gold);color:#13100a}
.novel-actions .button-primary:hover{background:#eed4a9}
.novel-related{font-size:12px;color:#d9c5a7;border-bottom:1px solid rgba(224,189,131,.45);padding-bottom:4px}
.works-intro{color:#adb1be;max-width:610px;line-height:1.8;font-size:14px}
.work-badges{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}
.work-badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:6px 9px;font-size:9px;font-weight:750;line-height:1.3;letter-spacing:.025em}
.series-badge{color:#ead5b3;background:rgba(224,189,131,.09);border:1px solid rgba(224,189,131,.32)}
.login-badge{color:#171109;background:#ffc86f;border:1px solid #ffcf82;font-size:11px}
.login-corner{position:absolute;top:14px;right:14px;font-size:10px;letter-spacing:.045em;text-shadow:none;border-radius:6px;padding:7px 10px;color:#1a1007;background:#ffc86f;box-shadow:0 3px 20px #0005}
.work-card-top:has(.login-corner) .work-open{display:none}
.work-card .work-title{line-height:1.25}
.work-card:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.featured-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:14px var(--edge) 0}
.featured-games .work-card{min-width:0;min-height:470px;width:100%;border-color:rgba(217,251,85,.33);flex-basis:auto;background:#191f30;scroll-snap-align:none}
.featured-games .work-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;min-height:375px}
.featured-games .work-card:first-child .work-art{height:100%;min-height:375px}
.featured-games .work-card:first-child .work-card-body{justify-content:center;padding:32px clamp(25px,4vw,58px)}
.featured-games .work-card:first-child .work-title{font-size:clamp(30px,4.4vw,61px);line-height:1.06;letter-spacing:-.06em}
.featured-games .work-card:first-child .work-labels{margin-top:3px}
.featured-games .work-card:not(:first-child) .work-art{height:285px}
.featured-games .work-card:not(:first-child) .work-card-body{padding:23px 28px 26px}
.featured-games .work-card:not(:first-child) .work-title{font-size:29px}
.featured-games .work-summary{font-size:13px;line-height:1.8;margin-top:14px}
.featured-tag{font-size:9px;letter-spacing:.13em;color:var(--lime);margin-bottom:13px;font-weight:750}
.featured-action{display:flex;justify-content:space-between;font-size:12px;font-weight:700;padding-top:18px;margin-top:19px;border-top:1px solid rgba(217,251,85,.23);color:var(--lime)}
.featured-games .work-card:first-child .work-card-top{width:54.55%}
.more-games-label{display:flex;align-items:center;gap:24px;padding:42px var(--edge) 16px}
.more-games-label>span{font-size:11px;letter-spacing:.1em;font-weight:750;color:var(--lime)}
.more-games-label>p{font-size:12px;color:#a2a7b6;margin:0}
.services-section{background:var(--story-cream);color:#1c2125;padding:90px var(--edge) 95px;border-top:5px solid #ba9460}
.services-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:38px}
.services-heading .section-kicker{color:#755b39;font-size:9px;letter-spacing:.1em}
.services-heading h2{font-size:clamp(40px,5.2vw,74px);letter-spacing:-.07em;line-height:1.05;margin:18px 0 0}
.services-count{font-size:10px;letter-spacing:.08em;font-weight:750;color:#816a4d}
.services-heading p:not(.section-kicker){font-size:14px;color:#5f6262;line-height:1.85;margin:12px 0 0;max-width:510px}
.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.services-grid .service-card{color:#f1ede6;min-width:0;width:100%;min-height:410px;border:1px solid rgba(18,24,27,.25);background:#232a31;box-shadow:0 6px 14px #1b232011}
.services-grid .work-art{height:180px}
.services-grid .work-card-body{padding:20px 22px 24px}
.services-grid .work-labels{color:#e9c796}
.service-contact{color:#685131;border-color:#685131;margin-top:32px}
.collab-copy .social-links{margin:23px 0 20px;color:#182014}
.social-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.social-links a{display:inline-flex;align-items:center;gap:18px;border:1px solid currentColor;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:700;transition:opacity .2s,transform .2s}
.social-links a:hover{opacity:.75;transform:translateY(-2px)}
.studio-footer{align-items:flex-end;padding-top:38px;padding-bottom:38px;gap:30px}
.footer-brand{display:flex;gap:30px;align-items:center}
.footer-brand>p{max-width:270px;line-height:1.8}
.footer-contact>p{color:#a6aaba;font-size:9px;letter-spacing:.12em;margin:0 0 11px}
.footer-contact .footer-email{display:inline-block;color:var(--paper);font-size:12px;margin-bottom:14px;border-bottom:1px solid #8b909866;padding-bottom:3px}
.footer-contact .social-links{color:var(--lime)}
.showcase-copy .work-badges{margin-top:18px}
@media(max-width:1000px){
 .novel-header{gap:25px;grid-template-columns:1fr 1fr}
 .novel-body{gap:24px}.novel-world{min-height:480px}.novel-world-caption{left:24px;right:20px}
 .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .featured-games .work-card:not(:first-child) .work-art{height:225px}
 .featured-games .work-card:first-child .work-card-body{padding:28px}
 .featured-games .work-card{min-height:440px}
 .footer-brand{flex-direction:column;align-items:flex-start;gap:15px}
}
@media(max-width:700px){
 .site-header{flex-wrap:wrap;padding-top:16px;padding-bottom:12px;row-gap:14px;align-items:center}
 .site-header .site-nav{display:flex;order:3;width:100%;justify-content:space-between;gap:10px;font-size:11px;white-space:nowrap}
 .hero{padding-top:175px}
 .novel-section{padding:65px var(--edge) 70px}
 .novel-header{display:block;margin-bottom:28px}.novel-header h2{font-size:36px;max-width:400px}.novel-intro{margin-top:19px;font-size:13px}
 .novel-body{display:flex;flex-direction:column}.novel-world{min-height:300px}.novel-world-caption strong{font-size:60px}.novel-world-caption p{font-size:10px}
 .book-list li{padding:14px 6px;min-height:75px}.book-list h3{font-size:23px}.novel-actions{gap:18px}
 .featured-games{display:flex;flex-direction:column;gap:18px;padding-top:10px}
 .featured-games .work-card{min-height:0;display:flex!important}
 .featured-games .work-card:first-child .work-art{height:250px;min-height:0}
 .featured-games .work-card:first-child .work-card-top{width:100%}
 .featured-games .work-card:first-child .work-card-body{padding:24px}
 .featured-games .work-card:first-child .work-title{font-size:36px}
 .featured-games .work-card:not(:first-child) .work-art{height:240px}
 .featured-games .work-card:not(:first-child) .work-card-body{padding:24px}
 .featured-games .work-card:not(:first-child) .work-title{font-size:29px}
 .more-games-label{display:block;padding-top:30px}.more-games-label p{margin-top:7px}
 .services-section{padding-top:65px;padding-bottom:70px}.services-heading{display:block;margin-bottom:28px}.services-heading>div+div{margin-top:22px}
 .services-grid{grid-template-columns:1fr}.services-grid .service-card{min-height:390px}.services-grid .work-art{height:200px}
 .studio-footer{flex-direction:column;align-items:flex-start;gap:27px}.footer-brand{flex-direction:row;align-items:center;gap:20px}.footer-brand p{max-width:170px}
 .collab-copy .social-links{margin-bottom:33px}.contact-address{position:static;grid-column:1/-1;justify-self:start;font-size:11px}
 .showcase-page .site-header .site-nav{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.social-links a,.work-card{transition:none}}

@media(min-width:701px) and (max-width:820px){.site-header .site-nav{display:flex;gap:14px;font-size:11px}.hero{padding-top:150px}}

/* 2026-11-07 hotfix: list every game without horizontal hiding. */
.game-visibility-note{padding:0 var(--edge);margin:0 0 16px;color:#c6d0b0;font-size:13px;line-height:1.8;max-width:1050px}
.all-games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:8px var(--edge) 28px;overflow:visible}
.all-games-grid .work-card{width:100%;min-width:0;min-height:405px;flex-basis:auto;scroll-snap-align:none}
.all-games-grid .work-art{height:213px}
.all-games-grid .work-open{opacity:1;transform:none}
.studio-footer{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,.9fr) minmax(240px,1fr);align-items:start;gap:clamp(25px,4vw,65px);padding-top:44px;padding-bottom:44px}
.studio-footer .footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.studio-footer .footer-brand>p{max-width:260px}
.footer-social>p{font-size:11px;font-weight:750;letter-spacing:.07em;color:#c5c9d3;margin:0 0 14px}
.footer-contact>p{font-size:11px;font-weight:750;color:#c5c9d3;margin-bottom:16px}
.footer-social-links{display:flex;flex-direction:column;align-items:stretch;color:var(--lime);gap:11px}
.footer-social-links a{display:flex;justify-content:space-between;gap:20px;padding:11px 16px;border-color:#68763e;background:#171d15;line-height:1.45;font-size:13px}
.footer-social-links strong{display:block;font-size:13px;font-weight:750}
.footer-social-links .social-account{display:block;color:#c8ceba;font-size:11px;margin-top:3px}
.footer-contact .footer-email{font-size:13px;overflow-wrap:anywhere}
@media(max-width:980px){.all-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-footer{grid-template-columns:1fr 1fr}.footer-social{grid-column:1/-1}.footer-social-links{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:600px){.all-games-grid{grid-template-columns:1fr;gap:18px;padding-left:20px;padding-right:20px}.all-games-grid .work-card{min-height:390px}.game-visibility-note{padding-left:20px;padding-right:20px;font-size:12px}.studio-footer{grid-template-columns:1fr;gap:28px}.footer-social{grid-column:auto}.footer-social-links{grid-template-columns:1fr}.studio-footer .footer-brand{flex-direction:row;align-items:center}}

/* Curated four-card games section. */
.all-games-grid.curated-games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.curated-games-grid .work-art{height:245px}
.curated-games-grid .work-title{font-size:25px}
.curated-games-grid .work-summary{font-size:13px;line-height:1.75}
@media(max-width:600px){.all-games-grid.curated-games-grid{grid-template-columns:1fr;gap:18px}.curated-games-grid .work-art{height:220px}}

/* Cinematic 000 city hero: no JS emblem, orbit lines or process diagram. */
.hero{min-height:760px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr auto;gap:32px;padding:155px var(--edge) 42px;background:#070b12}
.hero-artwork{position:absolute;inset:0;margin:0;z-index:0;background:#070b12;pointer-events:none}
.hero-artwork picture{display:block;width:100%;height:100%}
.hero-artwork img{display:block;width:100%;height:100%;object-fit:contain;object-position:center right}
.hero-artwork:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,11,18,.88) 0%,rgba(7,11,18,.58) 29%,rgba(7,11,18,.08) 59%,transparent 78%),linear-gradient(0deg,#070b12 0%,transparent 16%)}
.hero-copy{width:52%;max-width:680px;align-self:center;z-index:2}
.hero h1{font-size:clamp(64px,7.2vw,116px);line-height:1.02;letter-spacing:-.075em;text-wrap:balance}
.hero .hero-accent{color:#e0c18d;font-size:clamp(18px,1.65vw,25px);line-height:1.55}
.hero .hero-subtitle{color:#c0c6ce;line-height:1.9;max-width:540px}
.hero .eyebrow{color:#e0c18d}
.hero .signal-dot{background:#e0c18d;box-shadow:0 0 12px rgba(224,193,141,.38)}
.hero .button-primary{background:#e0c18d;color:#15130e}
.hero .button-primary:hover{background:#f0d6b1}
.hero .button-quiet{border-color:rgba(219,207,188,.28);background:rgba(7,11,18,.24)}
.hero-meta{z-index:2;margin-top:25px;color:#9ca8b4;border-color:rgba(214,223,236,.15)}
@media(min-width:1500px){.hero{min-height:850px}.hero-copy{width:48%}}
@media(max-width:1000px) and (min-width:821px){.hero-copy{width:56%}.hero h1{font-size:67px}.hero{min-height:730px}.hero-artwork:after{background:linear-gradient(90deg,rgba(7,11,18,.9),rgba(7,11,18,.55) 43%,transparent 80%),linear-gradient(0deg,#070b12,transparent 17%)}}
@media(max-width:820px){
 .hero{display:flex;flex-direction:column;min-height:0;padding:140px 20px 25px;gap:0;background:#070b12}
 .hero-copy{width:100%;max-width:640px;align-self:center}
 .hero h1{font-size:clamp(36px,10.5vw,64px);line-height:1.12;letter-spacing:-.055em;margin:19px 0 17px;text-wrap:balance}
 .hero .hero-accent{font-size:18px;line-height:1.65}
 .hero .hero-subtitle{font-size:13px;line-height:1.85;max-width:590px}
 .hero-actions{margin-top:24px;gap:10px}
 .hero-artwork{position:relative;inset:auto;flex:none;align-self:center;width:calc(100% + 40px);aspect-ratio:4/5;margin:25px -20px 0;z-index:0}
 .hero-artwork picture{width:100%;height:100%}
 .hero-artwork img{width:100%;height:100%;object-fit:contain;object-position:center}
 .hero-artwork:after{background:linear-gradient(180deg,#070b12 0%,transparent 8%,transparent 89%,#070b12 100%)}
 .hero-meta{width:100%;margin-top:4px;padding-top:16px;gap:10px;font-size:8px;flex-wrap:wrap}
}
@media(max-width:700px){.hero{padding-top:160px}}

/* Preserve the entire supplied mini-game illustration and omit its numeric badge. */
.curated-games-grid .work-card-collection .work-art{height:auto;aspect-ratio:16/9;background:#05062b}
.work-card-collection .work-cover-image{object-fit:contain}
.work-card-collection:hover .work-cover-image{transform:none}
.work-card-collection .work-card-top{justify-content:flex-end}

/* Eight applications: preserve each supplied 16:9 illustration and brand text. */
.rail-app .work-art{height:auto;aspect-ratio:16/9;background:#081320}
.rail-app .work-cover-image{object-fit:contain}
.rail-app .work-card:hover .work-cover-image{transform:none}
.rail-app .work-card-top{position:relative;inset:auto;background:#121825;text-shadow:none;padding:11px 16px;flex:none}
.rail-app .work-open{opacity:1;transform:none}
.rail-app .work-title{font-size:22px;line-height:1.3}

/* 2026-11-08: game row 2 equal covers; visible contact email fallback. */
.curated-games-grid .work-card-collection .work-art{height:245px;aspect-ratio:auto}
@media(max-width:600px){.curated-games-grid .work-card-collection .work-art{height:220px}}
.contact-email-note{margin:14px 0 0;font-size:14px;color:#343a2a}
.contact-email-text{font-weight:750;user-select:all;overflow-wrap:anywhere}
