/* APOLLO不動産 – skin "Gallery": a curved corridor, framed pictures on the walls, day / night.
   Day uses main.css (cream – brown); night also loads skin-noir.css for the rest of the page. */
.skin-gallery{
  --display:'Cormorant Garamond','Shippori Mincho','Noto Serif JP',serif;
  --ease:cubic-bezier(.22,.61,.36,1);
}
.skin-gallery.mode-day{
  --sky:#F6EFE3; --wall-top:#FBF6EE; --wall-a:#F2E8D8; --wall-b:#E6D6BF; --base:#D8C3A3;
  --floor-a:#EADCC6; --floor-b:#D7C09C; --haze:rgba(255,251,243,.95); --vig:rgba(120,90,50,.10);
  --label:#3E2A1C; --label-sub:#7A634C; --frame:#8A6A4A; --frame-hi:#B08E68; --mat:#FFFCF6;
  --glow:0; --lamp:.55; --art-shadow:0 18px 26px -14px rgba(80,55,25,.45);
  --cap:#3E2A1C; --cap-sub:#8A6A4A;
}
.skin-gallery.mode-night{
  --sky:#0E0D0C; --wall-top:#24211E; --wall-a:#2A2622; --wall-b:#1C1A17; --base:#14120F;
  --floor-a:#1A1714; --floor-b:#0D0C0A; --haze:rgba(9,8,7,.96); --vig:rgba(0,0,0,.6);
  --label:#EDE6D8; --label-sub:#A79C8C; --frame:#6E5536; --frame-hi:#C8A97E; --mat:#FBF6EC;
  --glow:1; --lamp:1; --art-shadow:0 22px 30px -16px rgba(0,0,0,.85);
  --cap:#F1ECE2; --cap-sub:#C8A97E;
}

/* stage */
.skin-gallery .cor.hero{position:relative;height:calc(100vh - 76px);height:calc(100svh - 76px);min-height:560px;overflow:hidden;
  background:var(--sky)!important;color:var(--label);isolation:isolate}
.skin-gallery .cor.hero::before,.skin-gallery .cor.hero::after{content:none!important}
.cor-stage{position:absolute;inset:0;perspective:760px;perspective-origin:50% 46%;touch-action:pan-y;user-select:none;cursor:grab;z-index:1}
.cor-stage.dragging{cursor:grabbing}
.cor-world{position:absolute;left:50%;top:46%;width:0;height:0;transform-style:preserve-3d;will-change:transform}
.cor-world > *{position:absolute;backface-visibility:hidden}
.cor-world-art{z-index:1}
.cor-world:not(.cor-world-art){z-index:0}

/* walls (generated by corridor.js) */
.cor-wall{width:var(--sw);height:640px;left:calc(var(--sw) / -2);top:-350px;
  background:linear-gradient(to bottom,var(--wall-top) 0%,var(--wall-a) 34%,var(--wall-b) 92%,var(--base) 92.4%,var(--base) 100%);
  transition:background .9s var(--ease)}
.cor-wall.inner{background:linear-gradient(to bottom,var(--wall-top) 0%,var(--wall-a) 30%,var(--wall-b) 92%,var(--base) 92.4%,var(--base) 100%);filter:brightness(.97)}
.cor-floor{border-radius:50%;pointer-events:none}
.mode-day .cor-floor{background:radial-gradient(circle closest-side,transparent 59.4%,var(--floor-a) 59.6%,var(--floor-b) 79%,var(--floor-a) 99.4%,transparent 99.6%)}
.mode-night .cor-floor{background:radial-gradient(circle closest-side,transparent 59.4%,#1E1A16 59.6%,#0C0B09 79%,#1E1A16 99.4%,transparent 99.6%)}
.cor-ceil{border-radius:50%;pointer-events:none;background:radial-gradient(circle closest-side,transparent 59.4%,var(--wall-top) 59.6%,var(--wall-a) 99.4%,transparent 99.6%);opacity:.9}

/* pictures */
.cor-art{left:-170px;top:-250px;width:340px;text-decoration:none;color:var(--label);display:block;transform-style:flat}
.cor-frame{display:block;padding:14px;background:var(--mat);border:9px solid var(--frame);box-shadow:var(--art-shadow),inset 0 0 0 1px rgba(0,0,0,.06);
  border-image:linear-gradient(135deg,var(--frame-hi),var(--frame) 40%,var(--frame) 70%,var(--frame-hi)) 1;transition:transform .5s var(--ease)}
.cor-frame .ill{display:block;width:100%;height:auto}
.cor-art:hover .cor-frame,.cor-art:focus-visible .cor-frame{transform:translateY(-4px)}
.cor-label{display:block;margin-top:14px;padding-left:2px;line-height:1.35}
.cor-label small{display:block;font-size:11px;letter-spacing:.24em;font-weight:600;color:var(--label-sub)}
.cor-label b{display:block;font-family:var(--display);font-weight:500;font-size:24px;color:var(--label);margin-top:3px}
.cor-label span{display:block;font-size:13px;color:var(--label-sub)}
/* picture light: the brass lamp above each picture, lit at night */
.cor-lamp{position:absolute;left:50%;top:-30px;width:90px;height:8px;margin-left:-45px;border-radius:4px;
  background:linear-gradient(to bottom,#E9D2A6,#9C7A4E);box-shadow:0 1px 2px rgba(0,0,0,.4);opacity:var(--lamp);transition:opacity .9s}
.cor-lamp::after{content:'';position:absolute;left:50%;top:6px;width:2px;height:10px;margin-left:-1px;background:#7E6040}
/* wall glow behind each picture (generated by corridor.js), visible at night */
.cor-glow{width:680px;height:820px;left:-340px;top:-380px;pointer-events:none;opacity:var(--glow);transition:opacity 1.1s var(--ease);
  background:radial-gradient(48% 40% at 50% 16%,rgba(255,220,160,.42),rgba(255,214,150,.16) 45%,rgba(255,214,150,0) 72%)}
.mode-night .cor-wall.outer{background:
  radial-gradient(250px 330px at var(--gx,-999px) 30%,rgba(255,222,165,.30),rgba(255,214,150,.10) 55%,rgba(255,214,150,0) 100%),
  linear-gradient(to bottom,var(--wall-top) 0%,var(--wall-a) 34%,var(--wall-b) 92%,var(--base) 92.4%,var(--base) 100%)}
.mode-night .cor-frame{box-shadow:var(--art-shadow),0 -30px 60px -30px rgba(255,214,150,.55),inset 0 0 0 1px rgba(0,0,0,.2)}

/* depth haze toward the far, curving end + vignette */
.cor-haze{position:absolute;inset:0;pointer-events:none;z-index:0;transition:background .9s var(--ease);
  background:
    radial-gradient(12% 22% at 84% 44%,var(--haze) 0%,rgba(0,0,0,0) 100%),
    radial-gradient(120% 90% at 50% 46%,rgba(0,0,0,0) 55%,var(--vig) 100%)}
.cor-fade{position:absolute;inset:0;pointer-events:none;z-index:6;background:#000;opacity:0;transition:opacity .45s var(--ease)}
.cor-fade.on{opacity:.55}
.mode-day .cor-fade{background:#FFF8EC}

/* overlay text */
.skin-gallery .cor .hero-intro{position:absolute;top:30px;left:0;right:0;z-index:4;pointer-events:none}
.skin-gallery .cor .hero-intro h1{font-family:var(--display);font-weight:500;font-size:clamp(22px,2.4vw,34px);color:var(--cap);max-width:640px;margin:0;line-height:1.2}
.skin-gallery .cor .hero-caption{position:absolute;left:0;right:0;bottom:40px;z-index:4;pointer-events:none}
.skin-gallery .cor .hero-caption .wrap{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.skin-gallery .cor .hero-caption .eyebrow{font-size:11px;letter-spacing:.3em;font-weight:600;color:var(--cap-sub)}
.skin-gallery .cor .hero-caption .title{display:block;margin-top:6px;font-family:var(--display);font-weight:500;font-size:clamp(40px,6.4vw,96px);line-height:1;color:var(--cap)}
.cor-hint{margin:0 0 8px;font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;text-align:right;color:var(--cap-sub);line-height:1.9}
.skin-gallery .cor .hero-arrows{position:absolute;left:32px;top:50%;z-index:5;display:flex;flex-direction:column;gap:12px}
.skin-gallery .cor .hero-arrows button{width:48px;height:48px;border-radius:50%;border:1px solid currentColor;background:transparent;color:var(--cap-sub);cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px)}

/* day / night switch */
.mode-toggle{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:transparent;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .5s var(--ease)}
.mode-toggle:hover{transform:rotate(-14deg)}
.mode-day .mode-toggle .i-moon,.mode-night .mode-toggle .i-sun{display:none}
.mode-day .mode-toggle{color:#5A3B24}
.mode-night .mode-toggle{color:#C8A97E}

/* panel artwork */
.cor-panel-art{background:var(--mat,#FFFCF6);display:flex;align-items:center;justify-content:center;padding:28px}
.cor-panel-art .ill{width:100%;max-width:300px;height:auto;box-shadow:0 18px 30px -18px rgba(0,0,0,.5)}
.mode-night .cor-panel-art{background:#16191D}

@media (max-width:700px){
  .cor-stage{perspective:620px}
  .cor-haze{background:radial-gradient(120% 90% at 50% 46%,rgba(0,0,0,0) 55%,var(--vig) 100%)}
  .mode-toggle{width:36px;height:36px}
  .skin-gallery .header-tools{gap:6px}
  .skin-gallery .lang-switch a{min-width:26px;padding:5px 6px}
  .skin-gallery .logo .logo-mark{width:34px;height:38px}
  .skin-gallery .logo .logo-word{width:140px;height:28px}
  .skin-gallery .site-header .wrap{padding:0 14px;gap:8px}
  .skin-gallery .cor .hero-caption .title{font-size:clamp(32px,10vw,46px)}
  .cor-hint{display:none}
  .skin-gallery .cor .hero-arrows{top:auto;bottom:140px;left:20px;flex-direction:row}
}
@media (prefers-reduced-motion:reduce){.cor-wall,.cor-glow,.cor-haze,.cor-lamp{transition:none}}
@media (max-width:420px){.skin-gallery .logo .logo-word{display:none}}

/* ===================== v2: wood box frames, 3D picture lights, bottom bar ===================== */
/* wood */
.skin-gallery.mode-day{--wood:repeating-linear-gradient(94deg,#B98C5E 0 2px,#A97B4F 2px 5px,#C49668 5px 7px,#9F7146 7px 11px);
  --wood-side:linear-gradient(to right,#8E6440,#6E4A2C);--wood-top:linear-gradient(to bottom,#C79C6E,#9A6E45)}
.skin-gallery.mode-night{--wood:repeating-linear-gradient(94deg,#6E4A2E 0 2px,#5E3E25 2px 5px,#7A5436 5px 7px,#553821 7px 11px);
  --wood-side:linear-gradient(to right,#4A3120,#2E1E13);--wood-top:linear-gradient(to bottom,#7E5A3C,#4E3421)}

/* the frame is a solid wooden box ~1.5 cm proud of the wall */
.cor-art{transform-style:preserve-3d}
.cor-frame{position:relative;transform-style:preserve-3d;border:15px solid #8E6440;padding:12px;border-image:var(--wood) 1;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.12),inset 0 2px 6px rgba(0,0,0,.18),0 26px 30px -18px rgba(60,40,20,.55)}
.mode-night .cor-frame{box-shadow:inset 0 0 0 1px rgba(0,0,0,.3),inset 0 2px 6px rgba(0,0,0,.4),0 30px 34px -18px rgba(0,0,0,.9)}
.cor-box{position:absolute;inset:-15px;transform-style:preserve-3d;pointer-events:none;--d:17px}
.cor-box i{position:absolute;display:block}
.cor-box .b-l,.cor-box .b-r{top:0;height:100%;width:var(--d);transform-origin:left center;transform:rotateY(90deg);background:var(--wood-side)}
.cor-box .b-l{left:0}
.cor-box .b-r{left:100%}
.cor-box .b-t,.cor-box .b-b{left:0;width:100%;height:var(--d);transform-origin:center top;transform:rotateX(-90deg)}
.cor-box .b-t{top:0;background:var(--wood-top)}
.cor-box .b-b{top:100%;background:linear-gradient(to bottom,#3A2817,#1E140C)}

/* light falling on the picture at night: bright under the lamp, fading down */
.cor-light{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity 1.1s var(--ease);
  background:radial-gradient(85% 60% at 50% -6%,rgba(255,230,178,.42),rgba(255,222,165,.12) 46%,rgba(0,0,0,0) 72%),linear-gradient(to bottom,rgba(0,0,0,0) 38%,rgba(10,7,4,.40))}
.mode-night .cor-light{opacity:1}
.mode-night .cor-frame{background:linear-gradient(to bottom,#FFF6E4,#E9DCC6)}

/* picture light: wall plate, brass arm reaching out of the wall, cylindrical hood */
.cor-lamp{position:absolute;left:50%;top:-56px;width:0;height:0;margin:0;background:none!important;box-shadow:none!important;opacity:1!important;transform-style:preserve-3d}
.cor-lamp::after{content:none!important}
.cor-lamp i{position:absolute;display:block}
.cor-lamp .plate{left:-10px;top:-10px;width:20px;height:20px;border-radius:50%;transform:translateZ(-17px);
  background:radial-gradient(circle at 35% 30%,#F6E6C4,#B08A58 55%,#6E5332)}
.cor-lamp .arm{left:-2px;top:0;width:4px;height:58px;transform-origin:center top;transform:translateZ(-17px) rotateX(78deg);
  background:linear-gradient(to right,#6E5332,#F1DDB4 45%,#8C6A3E)}
.cor-lamp .hood{left:-74px;top:4px;width:148px;height:22px;border-radius:11px;transform:translateZ(38px);transform-style:preserve-3d;
  background:linear-gradient(to bottom,#FBEBC8 0%,#D8B27A 28%,#A77E4B 58%,#6A4E2C 100%);box-shadow:0 8px 12px -6px rgba(0,0,0,.5)}
.cor-lamp .hood::before,.cor-lamp .hood::after{content:'';position:absolute;top:2px;bottom:2px;width:9px;border-radius:50%;background:linear-gradient(to bottom,#C9A46E,#5E4426)}
.cor-lamp .hood::before{left:-2px}.cor-lamp .hood::after{right:-2px}
.cor-lamp .under{left:10px;right:10px;bottom:-2px;height:5px;border-radius:0 0 6px 6px;background:#3A2C1C;transition:background .8s,box-shadow .8s}
.mode-night .cor-lamp .under{background:#FFF3D6;box-shadow:0 4px 10px 2px rgba(255,214,150,.9),0 14px 40px 8px rgba(255,214,150,.45)}
/* the beam: a faint cone from the hood down onto the picture */
.cor-beam{position:absolute;left:4%;right:4%;top:-40px;height:62%;pointer-events:none;opacity:0;transition:opacity 1.1s var(--ease);
  transform-origin:center top;transform:translateZ(38px) rotateX(-9deg);
  background:linear-gradient(to bottom,rgba(255,228,175,.34),rgba(255,224,170,.10) 60%,rgba(255,224,170,0));
  clip-path:polygon(36% 0,64% 0,100% 100%,0 100%)}
.mode-night .cor-beam{opacity:1}

/* home: no fixed top bar – logo, day/night, languages and menu float at the bottom */
.skin-gallery.is-home .site-header{position:fixed;top:auto;bottom:14px;left:50%;transform:translateX(-50%);width:min(1180px,calc(100% - 24px));
  border:1px solid var(--line);border-radius:999px;backdrop-filter:blur(14px) saturate(120%);z-index:60;box-shadow:0 20px 40px -24px rgba(0,0,0,.5)}
.skin-gallery.mode-day.is-home .site-header{background:rgba(251,247,240,.82)}
.skin-gallery.mode-night.is-home .site-header{background:rgba(18,20,23,.78)}
.skin-gallery.is-home .site-header .wrap{min-height:62px;padding:0 10px 0 22px}
.skin-gallery.is-home .cor.hero{height:100vh;height:100svh}
.skin-gallery.is-home .cor .hero-caption{bottom:104px}
.skin-gallery.is-home .main-nav .sub-menu{top:auto;bottom:100%}
.skin-gallery.is-home .support{bottom:92px}
@media (max-width:1180px){.skin-gallery.is-home .main-nav{top:auto!important;bottom:calc(100% + 10px);border-radius:16px;border:1px solid var(--line)}}

/* support button shows the APOLLO mark */
.support-logo{display:block;width:30px;height:34px;background:#FBF6EC;-webkit-mask:url(../img/logo-mark.png) center/contain no-repeat;mask:url(../img/logo-mark.png) center/contain no-repeat}
.mode-night .support-logo{background:#121417}

/* sample-only page switcher: top instead of bottom */
.preview-bar.preview-bar-top{top:44px;bottom:auto;transform:translateX(-50%) scale(.82);opacity:.9}

/* phones: the whole scene a little smaller so picture, intro and caption fit on one screen */
@media (max-width:700px){
  .cor-world{scale:.66}
  .cor-stage{perspective-origin:50% 44%}
  .cor-world{top:44%}
  .skin-gallery .cor .hero-intro{top:22px}
  .skin-gallery .cor .hero-intro h1{font-size:21px}
  .skin-gallery.is-home .cor .hero-caption{bottom:92px}
  .skin-gallery .cor .hero-caption .title{font-size:34px}
  .skin-gallery.is-home .site-header .wrap{min-height:56px;padding:0 6px 0 12px}
  .skin-gallery.is-home .site-header{bottom:10px;width:calc(100% - 16px)}
  .skin-gallery.is-home .support{bottom:80px;right:12px}
  .skin-gallery .support-toggle{width:52px;height:52px}
  .cor.hero::after{content:''!important;position:absolute;left:0;right:0;bottom:0;height:40%;z-index:0;pointer-events:none;
    background:linear-gradient(to bottom,rgba(0,0,0,0),var(--floor-b))}
}
/* sample-only chrome kept out of the scene on home */
.skin-gallery.is-home .preview-note{display:none}
.preview-bar.preview-bar-top{top:12px;left:auto;right:12px;transform:scale(.8);transform-origin:top right}
.skin-gallery.is-home .cor .hero-caption{bottom:116px}
@media (max-width:700px){
  .preview-bar.preview-bar-top{transform:scale(.7)}
  .skin-gallery .cor .hero-intro{top:58px}
  .skin-gallery.is-home .cor .hero-caption{bottom:84px}
  .skin-gallery .cor .hero-caption .hint{display:none}
}
@media (max-width:700px){.cor-world{top:51%}.cor-stage{perspective-origin:50% 50%}}

/* ===================== v3: walnut frames, champagne fillet, mat, slim gallery lights ===================== */
.cor-frame{border:0!important;border-image:none!important;padding:16px;background:#3B2416!important;
  box-shadow:0 0 0 1px rgba(20,12,6,.55),0 24px 30px -16px rgba(40,26,14,.5),0 8px 12px -6px rgba(40,26,14,.3)!important}
.mode-night .cor-frame{box-shadow:0 0 0 1px rgba(0,0,0,.7),0 30px 36px -14px rgba(0,0,0,.85),0 10px 14px -6px rgba(0,0,0,.6)!important}
/* four mitred faces, each with its own grain direction and light */
.cor-frame .fa{position:absolute;display:block;pointer-events:none;background-color:#55361F}
.cor-frame .ft,.cor-frame .fb{left:0;right:0;height:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.42' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.05 0 0 0 0 0.02 0 0 0 1.6 -0.55'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23f)'/%3E%3C/svg%3E")}
.cor-frame .fl,.cor-frame .fr{top:0;bottom:0;width:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.42 0.004' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.05 0 0 0 0 0.02 0 0 0 1.6 -0.55'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23f)'/%3E%3C/svg%3E")}
.cor-frame .ft{top:0;clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,16px 100%)}
.cor-frame .fb{bottom:0;clip-path:polygon(16px 0,calc(100% - 16px) 0,100% 100%,0 100%)}
.cor-frame .fl{left:0;clip-path:polygon(0 0,100% 16px,100% calc(100% - 16px),0 100%)}
.cor-frame .fr{right:0;clip-path:polygon(0 16px,100% 0,100% 100%,0 calc(100% - 16px))}
/* rounded profile: light from above */
.cor-frame .ft::after,.cor-frame .fb::after,.cor-frame .fl::after,.cor-frame .fr::after{content:'';position:absolute;inset:0}
.cor-frame .ft::after{background:linear-gradient(to bottom,rgba(255,226,186,.30),rgba(255,226,186,.10) 35%,rgba(0,0,0,.05) 65%,rgba(0,0,0,.35))}
.cor-frame .fb::after{background:linear-gradient(to bottom,rgba(0,0,0,.45),rgba(0,0,0,.2) 40%,rgba(255,220,180,.10) 75%,rgba(0,0,0,.35))}
.cor-frame .fl::after{background:linear-gradient(to right,rgba(255,226,186,.16),rgba(255,226,186,.06) 40%,rgba(0,0,0,.12) 70%,rgba(0,0,0,.42))}
.cor-frame .fr::after{background:linear-gradient(to right,rgba(0,0,0,.42),rgba(0,0,0,.12) 30%,rgba(255,226,186,.05) 60%,rgba(0,0,0,.3))}
/* depth of the frame back to the wall */
.cor-box{inset:0!important}
.cor-box .b-l,.cor-box .b-r{background:linear-gradient(to right,#3E2717,#24160C)!important}
.cor-box .b-t{background:linear-gradient(to bottom,#6B4A30,#3E2717)!important}
.cor-box .b-b{background:#1A1009!important}
/* passe-partout with a thin champagne-gold fillet and a bevelled window */
.cor-mat{position:relative;display:block;padding:24px;background:#F2EDE3;
  box-shadow:0 0 0 2px #CDB17C,0 0 0 3px rgba(30,18,8,.65),inset 0 2px 5px rgba(0,0,0,.16)}
.cor-mat::before{content:'';position:absolute;inset:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23f)'/%3E%3C/svg%3E");opacity:.35;mix-blend-mode:multiply}
.cor-mat svg{display:block;width:100%;height:auto;box-shadow:0 0 0 1px rgba(60,40,20,.25),-1px -1px 0 2px #FFFDF7,1px 1px 0 2px #D9D1C2}
.mode-night .cor-mat{background:#ECE5D8}
/* fillet sheen */
.cor-frame::after{content:'';position:absolute;inset:14px;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,250,235,0) 30%,rgba(255,250,235,.22) 46%,rgba(255,250,235,0) 60%);mix-blend-mode:screen;opacity:.6}

/* light falling on the picture: 2700–3000K, soft, bright at the top, fading down */
.cor-light{opacity:1!important;mix-blend-mode:normal;
  background:radial-gradient(70% 48% at 50% -4%,rgba(255,226,180,.16),rgba(255,226,180,0) 72%)!important}
.mode-night .cor-light{background:radial-gradient(78% 58% at 50% -6%,rgba(255,214,158,.34),rgba(255,210,150,.10) 50%,rgba(0,0,0,0) 74%),
  linear-gradient(to bottom,rgba(0,0,0,0) 45%,rgba(8,5,3,.34))!important}
/* warm pool on the wall around the frame */
.cor-wash{position:absolute;left:-22%;right:-22%;top:-92px;height:86%;pointer-events:none;transform:translateZ(-17px);
  background:radial-gradient(50% 62% at 50% 8%,rgba(255,214,160,.20),rgba(255,214,160,.06) 55%,rgba(255,214,160,0) 75%);transition:opacity 1s}
.mode-night .cor-wash{background:radial-gradient(48% 64% at 50% 6%,rgba(255,206,148,.34),rgba(255,200,140,.10) 52%,rgba(255,200,140,0) 76%)}
.cor-beam{clip-path:none!important;left:10%!important;right:10%!important;top:-44px!important;height:46%!important;
  background:radial-gradient(52% 100% at 50% 0,rgba(255,224,176,.20),rgba(255,224,176,0) 80%)!important}

/* slim brass gallery light: wall bar, two thin arms, narrow hood */
.cor-lamp .plate{left:-46px!important;top:-5px!important;width:92px!important;height:10px!important;border-radius:3px!important;
  background:linear-gradient(to bottom,#E9D6AE,#B08F5D 45%,#6F5534)!important;box-shadow:0 3px 6px rgba(0,0,0,.35)}
.cor-lamp .arm{width:2px!important;height:68px!important;top:0!important;transform:translateZ(-17px) rotateX(80deg)!important;
  background:linear-gradient(to right,#5E4628,#EBD7AE 50%,#6E5432)!important}
.cor-lamp .a1{left:-35px!important}.cor-lamp .a2{left:33px!important}
.cor-lamp .hood{left:-92px!important;top:6px!important;width:184px!important;height:9px!important;border-radius:5px!important;transform:translateZ(50px)!important;
  background:linear-gradient(to bottom,#FFF6DF 0%,#EBD3A2 22%,#C29E66 52%,#87683D 82%,#5E4728 100%)!important;box-shadow:0 6px 10px -4px rgba(0,0,0,.55)!important}
.cor-lamp .hood::before,.cor-lamp .hood::after{width:5px!important;top:0!important;bottom:0!important;background:linear-gradient(to bottom,#E2C995,#6A5030)!important}
.cor-lamp .under{left:6px!important;right:6px!important;bottom:-1px!important;height:3px!important;border-radius:0 0 3px 3px!important;
  background:#FFEFCF!important;box-shadow:0 2px 6px 1px rgba(255,214,150,.55)!important}
.mode-night .cor-lamp .under{background:#FFF4DA!important;box-shadow:0 2px 8px 2px rgba(255,210,145,.95),0 10px 30px 6px rgba(255,205,140,.4)!important}

/* matte wall texture */
.cor-wall::after{content:'';position:absolute;inset:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23f)'/%3E%3C/svg%3E");opacity:.22;mix-blend-mode:multiply}
.mode-night .cor-wall::after{opacity:.5}

/* bottom bar: page switcher inside, no logo */
.skin-gallery.is-home .site-header .logo{display:none}
.skin-gallery.is-home .site-header{width:min(1320px,calc(100% - 24px))}
.skin-gallery.is-home .site-header .wrap{padding:0 10px}
.preview-bar.dock-views{position:static;transform:none;box-shadow:none;opacity:1;flex:none;padding:4px;gap:2px;background:rgba(120,90,60,.08);border:1px solid var(--line)}
.preview-bar.dock-views a{font-size:12.5px;padding:8px 13px;color:inherit}
.mode-night .preview-bar.dock-views{background:rgba(255,255,255,.04)}
.mode-night .preview-bar.dock-views a{color:#D8D2C6}
@media (max-width:700px){
  .skin-gallery.is-home .site-header{border-radius:22px}
  .skin-gallery.is-home .site-header .wrap{flex-wrap:wrap;row-gap:6px;padding:8px 8px 8px;min-height:0}
  .preview-bar.dock-views{order:-1;width:100%;justify-content:space-between}
  .preview-bar.dock-views a{flex:1;text-align:center;padding:8px 6px;font-size:12px}
  .skin-gallery.is-home .site-header .header-tools{flex:1;justify-content:space-between}
  .skin-gallery.is-home .cor .hero-caption{bottom:134px}
  .skin-gallery.is-home .support{bottom:134px}
  .skin-gallery .cor .hero-intro{top:22px}
  .cor-world{top:47%}
  .cor-frame .ft,.cor-frame .fb{height:16px}
}
.cor-mat svg{position:relative;z-index:1}
.cor-mat::before{opacity:.28}
.preview-bar.dock-views a[aria-current]{color:#121417!important;background:#C8A97E}
.mode-day .preview-bar.dock-views a[aria-current]{color:#FBF6EC!important;background:#5A3A22}
/* lamp reads as one fixture: small back plate, short arms, hood closer to the wall */
.cor-lamp .plate{left:-40px!important;width:80px!important;height:8px!important;top:-4px!important}
.cor-lamp .arm{height:46px!important;transform:translateZ(-17px) rotateX(74deg)!important;width:2.5px!important}
.cor-lamp .a1{left:-30px!important}.cor-lamp .a2{left:28px!important}
.cor-lamp .hood{top:8px!important;height:11px!important;border-radius:6px!important;transform:translateZ(27px)!important}
.cor-beam{transform:translateZ(27px) rotateX(-9deg)!important}
.mode-night .cor-light{background:radial-gradient(80% 60% at 50% -6%,rgba(255,214,158,.42),rgba(255,210,150,.13) 50%,rgba(0,0,0,0) 76%),
  linear-gradient(to bottom,rgba(0,0,0,0) 42%,rgba(8,5,3,.38))!important}
.cor-wash{top:-190px!important;height:125%!important;left:-30%!important;right:-30%!important;
  background:radial-gradient(closest-side,rgba(255,214,160,.16),rgba(255,214,160,.05) 60%,rgba(255,214,160,0))!important}
.mode-night .cor-wash{background:radial-gradient(closest-side,rgba(255,206,148,.26),rgba(255,200,140,.08) 60%,rgba(255,200,140,0))!important}

/* ===================== v4: picture light & frame refactor (backplate · arm · hood · emitter · falloff · shadows) ===================== */
/* no blend modes inside the 3D scene: iOS Safari flattens or drops 3D layers that blend */
.cor-mat::before,.cor-wall::after,.cor-frame::after{mix-blend-mode:normal!important}
.cor-mat::before{opacity:.16!important}
.cor-wall::after{opacity:.14!important}.mode-night .cor-wall::after{opacity:.30!important}

/* 1 — fixture. The lamp origin sits on the wall plane above the frame centre. */
.cor-lamp{top:-50px!important}
/* soft shadow of the arm and hood thrown onto the wall */
.cor-lamp::before{content:''!important;position:absolute;left:-112px;top:2px;width:224px;height:30px;transform:translateZ(-17px);pointer-events:none;
  background:radial-gradient(closest-side,rgba(20,12,5,.30),rgba(20,12,5,.12) 55%,rgba(20,12,5,0))}
.mode-night .cor-lamp::before{background:radial-gradient(closest-side,rgba(0,0,0,.6),rgba(0,0,0,.25) 55%,rgba(0,0,0,0))}
/* wall backplate: small rounded block held tight to the wall */
.cor-lamp .plate{left:-15px!important;top:-9px!important;width:30px!important;height:18px!important;border-radius:4px!important;transform:translateZ(-17px)!important;
  background:linear-gradient(to bottom,#F3DFC1 0,#D4AF7A 18%,#9E7B4F 62%,#8C6D46 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,248,232,.85),inset 0 -1px 0 rgba(60,40,20,.5),0 3px 5px rgba(20,12,5,.45),0 0 0 1px rgba(60,40,20,.25)!important}
/* one slim arm, out from the plate and tilted ~18° down toward the picture */
.cor-lamp .a2{display:none!important}
.cor-lamp .a1{left:-2px!important;top:0!important;width:4px!important;height:58px!important;border-radius:2px;transform-origin:center top!important;
  transform:translateZ(-17px) rotateX(72deg)!important;
  background:linear-gradient(to right,#8C6D46,#F3DFC1 45%,#D4AF7A 60%,#9E7B4F)!important}
/* hood: slim round bar, ~60% of the frame width (340px → 204px); arm end is at y≈18, z≈38 */
.cor-lamp .hood{left:-102px!important;top:12px!important;width:204px!important;height:12px!important;border-radius:6px!important;transform:translateZ(38px)!important;
  background:linear-gradient(to bottom,#F3DFC1 0%,#D4AF7A 26%,#F3DFC1 40%,#9E7B4F 66%,#8C6D46 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,250,238,.95),inset 0 -1px 0 rgba(50,32,14,.55),0 5px 8px -3px rgba(20,12,5,.5)!important}
.cor-lamp .hood::before,.cor-lamp .hood::after{width:6px!important;top:0!important;bottom:0!important;border-radius:3px!important;
  background:linear-gradient(to bottom,#F3DFC1,#9E7B4F 60%,#6F5534)!important}
.cor-lamp .hood::before{left:-3px!important}.cor-lamp .hood::after{right:-3px!important}
/* 2 — emitter slot under the bar */
.cor-lamp .under{left:8px!important;right:8px!important;bottom:-1px!important;height:3px!important;border-radius:0 0 3px 3px!important;
  background:#FFE4B5!important;box-shadow:0 1px 4px 1px rgba(255,228,181,.6),0 6px 14px 2px rgba(255,214,160,.25)!important}
.mode-night .cor-lamp .under{background:#FFF3D6!important;box-shadow:0 1px 5px 2px rgba(255,236,200,.95),0 8px 22px 6px rgba(255,214,160,.5),0 18px 50px 14px rgba(255,205,140,.22)!important}

/* light fan from the slot down over the top half of the picture: several soft radial layers, no hard edge */
.cor-beam{left:-6%!important;right:-6%!important;top:-34px!important;height:72%!important;opacity:.45!important;transform:translateZ(36px) rotateX(-14deg)!important;
  background:radial-gradient(18% 22% at 50% 0,rgba(255,240,210,.32),rgba(255,240,210,0) 100%),
             radial-gradient(42% 60% at 50% 0,rgba(255,226,180,.20),rgba(255,226,180,0) 100%),
             radial-gradient(70% 100% at 50% 0,rgba(255,214,160,.10),rgba(255,214,160,0) 100%)!important}
.mode-night .cor-beam{opacity:1!important}
/* wash on the picture itself: bright along the top rail, fading smoothly to nothing by the lower half */
.cor-light{background:radial-gradient(60% 34% at 50% 0,rgba(255,236,200,.22),rgba(255,236,200,0) 100%),
  radial-gradient(90% 62% at 50% -4%,rgba(255,222,172,.12),rgba(255,222,172,0) 100%),
  linear-gradient(to bottom,rgba(0,0,0,0) 55%,rgba(20,12,5,.08))!important}
.mode-night .cor-light{background:radial-gradient(58% 32% at 50% 0,rgba(255,232,190,.46),rgba(255,232,190,0) 100%),
  radial-gradient(92% 64% at 50% -4%,rgba(255,214,158,.28),rgba(255,214,158,0) 100%),
  radial-gradient(130% 90% at 50% -10%,rgba(255,205,140,.10),rgba(255,205,140,0) 100%),
  linear-gradient(to bottom,rgba(0,0,0,0) 46%,rgba(6,4,2,.40))!important}

/* 3 — frame on the wall: contact shadow drawn on the wall plane, light from above so it falls below */
.cor-frame::before{content:'';position:absolute;inset:0;pointer-events:none;transform:translateZ(-17px);background:transparent;
  box-shadow:0 4px 6px rgba(20,12,5,.30),0 22px 30px -6px rgba(20,12,5,.38)}
.mode-night .cor-frame::before{box-shadow:0 4px 8px rgba(0,0,0,.65),0 26px 40px -6px rgba(0,0,0,.8)}
.cor-frame{box-shadow:0 0 0 1px rgba(20,12,6,.55)!important}
/* mat: warm cream; inner bevel catches the light at the top, the window throws a small shadow onto the print */
.cor-mat{background:linear-gradient(to bottom,#F6F0E4,#EDE5D6)!important;
  box-shadow:0 0 0 2px #CDB17C,0 0 0 3px rgba(30,18,8,.65),inset 0 3px 6px rgba(0,0,0,.22),inset 0 -1px 2px rgba(255,255,255,.4)!important}
.cor-mat svg{box-shadow:0 -1px 0 1px rgba(255,253,245,.95),0 1px 0 1px rgba(150,130,100,.55),0 0 0 2px rgba(205,195,178,.9)!important}
.cor-mat::after{content:'';position:absolute;inset:24px;z-index:2;pointer-events:none;
  box-shadow:inset 0 5px 8px -3px rgba(0,0,0,.30),inset 0 0 0 1px rgba(0,0,0,.08)}
/* glazing: a very faint diagonal reflection across mat and print */
.cor-frame::after{inset:16px!important;opacity:1!important;z-index:3;
  background:linear-gradient(122deg,rgba(255,255,255,0) 34%,rgba(255,255,255,.07) 42%,rgba(255,255,255,.025) 50%,rgba(255,255,255,0) 58%),
             linear-gradient(to bottom,rgba(255,255,255,.04),rgba(255,255,255,0) 30%)!important}
.mode-night .cor-frame::after{background:linear-gradient(122deg,rgba(255,240,215,0) 34%,rgba(255,240,215,.06) 42%,rgba(255,240,215,.02) 50%,rgba(255,240,215,0) 58%)!important}
/* every beam layer fades out well inside its own box, so no edge can show */
.cor-beam{background:radial-gradient(16% 20% at 50% 0,rgba(255,240,210,.30),rgba(255,240,210,0) 100%),
  radial-gradient(34% 55% at 50% 0,rgba(255,226,180,.18),rgba(255,226,180,0) 100%),
  radial-gradient(48% 88% at 50% 0,rgba(255,214,160,.09),rgba(255,214,160,0) 100%)!important}
/* eased falloff (no visible rim where a layer ends) */
.cor-light{background:radial-gradient(48% 40% at 50% 0,rgba(255,236,200,.22),rgba(255,236,200,.12) 40%,rgba(255,236,200,.04) 72%,rgba(255,236,200,0) 100%),
  radial-gradient(50% 70% at 50% -4%,rgba(255,222,172,.12),rgba(255,222,172,.05) 50%,rgba(255,222,172,0) 100%)!important}
.mode-night .cor-light{background:radial-gradient(48% 38% at 50% 0,rgba(255,232,190,.46),rgba(255,232,190,.26) 38%,rgba(255,232,190,.08) 70%,rgba(255,232,190,0) 100%),
  radial-gradient(50% 72% at 50% -4%,rgba(255,214,158,.26),rgba(255,214,158,.12) 45%,rgba(255,214,158,.03) 78%,rgba(255,214,158,0) 100%),
  linear-gradient(to bottom,rgba(6,4,2,0) 40%,rgba(6,4,2,.12) 65%,rgba(6,4,2,.38))!important}
/* keep the light fan in front of the glass all the way down (a steeper tilt cut through the picture) */
.cor-beam{transform:translateZ(36px) rotateX(-5deg)!important}
/* no two layers on exactly the same plane (coplanar layers make the 3D sorter split and glitch) */
.cor-wash{transform:translateZ(-18px)!important}
.cor-frame::before{transform:translateZ(-16.5px)!important}
.cor-lamp::before{transform:translateZ(-17.5px)!important}
.cor-lamp .plate{transform:translateZ(-16px)!important}
.cor-beam{transform:translateZ(30px)!important}
/* shadow drawn by the frame itself (a wall-plane shadow layer was cut by the frame's sides and glitched) */
.cor-frame::before{display:none!important}
.cor-frame{box-shadow:0 0 0 1px rgba(20,12,6,.55),0 4px 6px rgba(20,12,5,.28),0 24px 30px -8px rgba(20,12,5,.36)!important}
.mode-night .cor-frame{box-shadow:0 0 0 1px rgba(0,0,0,.7),0 4px 8px rgba(0,0,0,.6),0 28px 40px -8px rgba(0,0,0,.8)!important}
.cor-beam{left:6%!important;right:6%!important}
/* the wall pool must stay inside its own bay, or on the curved wall it cuts into the neighbouring frame */
.cor-wash{left:-10%!important;right:-10%!important}

/* ===== v4b: the fixture is drawn in the wall's own plane (separate 3D layers for the lamp made the 3D sorter cut
   hairlines through neighbouring frames). Shading and shadows carry the depth instead. ===== */
.cor-lamp{top:-6px!important;transform-style:flat!important}
.cor-lamp i,.cor-lamp .hood,.cor-wash,.cor-beam{transform:none!important}
/* backplate on the wall */
.cor-lamp .plate{left:-14px!important;top:-36px!important;width:28px!important;height:14px!important;border-radius:3px!important;
  box-shadow:inset 0 1px 0 rgba(255,248,232,.9),inset 0 -1px 0 rgba(60,40,20,.5),0 2px 3px rgba(20,12,5,.35),1px 4px 7px rgba(20,12,5,.25)!important}
/* arm: comes out of the plate and drops to the bar; lit on top, shaded underneath */
.cor-lamp .a1{left:-2px!important;top:-24px!important;width:4px!important;height:12px!important;border-radius:0 0 2px 2px!important;
  background:linear-gradient(to right,#8C6D46,#F3DFC1 45%,#D4AF7A 60%,#9E7B4F)!important;box-shadow:2px 3px 4px rgba(20,12,5,.3)!important}
.cor-lamp .a1::after{content:'';position:absolute;left:-3px;right:-3px;bottom:-3px;height:5px;border-radius:50%;background:radial-gradient(#F3DFC1,#9E7B4F)}
/* bar */
.cor-lamp .hood{top:-14px!important}
/* the bar's shadow on the wall, a little below and behind it */
.cor-lamp::before{content:''!important;display:block!important;left:-104px!important;top:-6px!important;width:208px!important;height:16px!important;transform:none!important}
/* light fan on the wall between the bar and the frame (sits behind the frame) */
.cor-beam{display:block!important;left:14%!important;right:14%!important;top:-4px!important;height:30px!important;opacity:.6!important;
  background:radial-gradient(50% 100% at 50% 0,rgba(255,230,185,.45),rgba(255,230,185,.15) 55%,rgba(255,230,185,0))!important}
.mode-night .cor-beam{opacity:1!important}

/* ===== v5: no bottom bar on home; language + day/night as a frosted cluster top-right; full footer ===== */
.skin-gallery.is-home .site-header{position:fixed!important;top:14px!important;right:14px!important;left:auto!important;bottom:auto!important;transform:none!important;
  width:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important;z-index:60}
.skin-gallery.is-home .site-header .wrap{min-height:0!important;padding:0!important;max-width:none;width:auto}
.skin-gallery.is-home .site-header .logo,
.skin-gallery.is-home .site-header .main-nav,
.skin-gallery.is-home .site-header .nav-toggle,
.skin-gallery.is-home .site-header .header-tools .btn{display:none!important}
.skin-gallery.is-home .header-tools{display:flex;align-items:center;gap:6px;padding:5px;border-radius:999px;
  background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
  box-shadow:0 14px 34px -14px rgba(60,40,20,.45),0 2px 6px rgba(60,40,20,.12),inset 0 1px 0 rgba(255,255,255,.7)}
.skin-gallery.mode-night.is-home .header-tools{background:rgba(28,30,34,.42);border-color:rgba(255,255,255,.12);
  box-shadow:0 16px 36px -14px rgba(0,0,0,.8),0 2px 6px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.10)}
.skin-gallery.is-home .header-tools .mode-toggle{width:38px;height:38px;border:0;background:rgba(255,255,255,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.skin-gallery.mode-night.is-home .header-tools .mode-toggle{background:rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.skin-gallery.is-home .header-tools .lang-switch{background:transparent;border:0;padding:0}
.skin-gallery.is-home .header-tools .lang-switch a{padding:7px 11px}
/* the hero takes the whole screen again, caption back near the bottom */
.skin-gallery.is-home .cor .hero-caption{bottom:40px!important}
.skin-gallery.is-home .support{bottom:24px!important}
.skin-gallery .cor .hero-intro .wrap{padding-right:300px}
@media (max-width:700px){
  .skin-gallery.is-home .site-header{top:10px!important;right:10px!important}
  .skin-gallery .cor .hero-intro{top:70px!important}
  .skin-gallery .cor .hero-intro .wrap{padding-right:20px}
  .skin-gallery.is-home .cor .hero-caption{bottom:30px!important}
  .skin-gallery.is-home .support{bottom:24px!important}
  .cor-world{top:50%!important}
}

/* footer (company details, contact) */
.skin-gallery .site-footer-full{padding:64px 0 28px;font-size:15px;line-height:1.7}
.skin-gallery.mode-night .site-footer-full{background:#0E0F11;color:#A9A398;border-top:1px solid rgba(200,169,126,.14)}
.skin-gallery.mode-day .site-footer-full{background:#2A1D13;color:#CDBFAE}
.skin-gallery .site-footer-full .logo{--logo-color:#C8A97E}
.skin-gallery .site-footer-full .f-co p{margin:18px 0 0}
.skin-gallery .site-footer-full .f-co strong{display:inline-block;margin-bottom:4px;color:#fff;font-size:17px;letter-spacing:.02em}
.skin-gallery .site-footer-full h3{margin:0 0 14px;color:#C8A97E;font-size:12px;font-weight:600;letter-spacing:.3em;text-transform:uppercase}
.skin-gallery .site-footer-full ul{gap:10px}
.skin-gallery .site-footer-full a{color:#EFE8DC}
.skin-gallery .site-footer-full .k{color:#8F887D}
.skin-gallery .site-footer-full .footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid rgba(200,169,126,.14);font-size:13px;color:#8F887D}
@media (max-width:900px){.skin-gallery .site-footer-full .footer-grid{grid-template-columns:1fr;gap:34px}.skin-gallery .site-footer-full{padding:48px 0 100px}}

/* ===== v6: opening a picture – the backdrop dims slowly, the panel settles in, text follows; the print itself flies ===== */
.g-modal.fx{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.g-modal.fx::before{content:'';position:fixed;inset:0;opacity:0;transition:opacity .7s cubic-bezier(.22,.8,.18,1);
  background:rgba(8,9,11,.74);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.mode-day .g-modal.fx::before{background:rgba(42,29,19,.5)}
.g-modal.fx.fx-open::before{opacity:1}
.g-modal.fx .g-panel{position:relative;opacity:0;transform:translateY(18px) scale(.985);
  transition:opacity .55s ease .2s,transform .8s cubic-bezier(.22,.8,.18,1) .12s}
.g-modal.fx.fx-open .g-panel{opacity:1;transform:none}
.g-modal.fx .g-panel-body>*{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .7s cubic-bezier(.22,.8,.18,1)}
.g-modal.fx.fx-open .g-panel-body>*{opacity:1;transform:none}
.g-modal.fx.fx-open .g-panel-body>*:nth-child(1){transition-delay:.45s}
.g-modal.fx.fx-open .g-panel-body>*:nth-child(2){transition-delay:.5s}
.g-modal.fx.fx-open .g-panel-body>*:nth-child(3){transition-delay:.56s}
.g-modal.fx.fx-open .g-panel-body>*:nth-child(4){transition-delay:.62s}
.g-modal.fx.fx-open .g-panel-body>*:nth-child(5){transition-delay:.68s}
.g-modal.fx.fx-open .g-panel-body>*:nth-child(n+6){transition-delay:.74s}
/* closing: everything but the print fades quickly, without delays */
.g-modal.fx.fx-closing::before{transition:opacity .6s ease .1s}
.g-modal.fx.fx-closing .g-panel{transition:opacity .3s ease,transform .45s ease;transform:translateY(10px) scale(.99)}
.g-modal.fx.fx-closing .g-panel-body>*{transition:opacity .2s ease,transform .3s ease;transition-delay:0s!important}
.fly-art{will-change:transform;backface-visibility:hidden;border-radius:1px}
@media (prefers-reduced-motion:reduce){.g-modal.fx::before,.g-modal.fx .g-panel,.g-modal.fx .g-panel-body>*{transition:none!important}}

/* ===== v7: desktop / laptop – the scene is sized to the window so it sits between the intro and the caption ===== */
@media (min-width:701px){
  .cor-world{scale:var(--cs,1)}
  .skin-gallery .cor .hero-intro{top:34px!important}
  .skin-gallery .cor .hero-intro .wrap{padding-right:340px}
  .skin-gallery .cor .hero-caption .title{font-size:clamp(38px,4.6vw,70px)!important}
  .skin-gallery.is-home .cor .hero-caption{bottom:34px!important}
}
@media (min-width:701px){.skin-gallery .cor .hero-caption .cor-hint{margin-right:84px}}

/* ===== v8: mobile-first controls – [menu · logo] left, [day/night · languages] right, one contact button ===== */
.skin-gallery{--glass-bg:rgba(255,255,255,.36);--glass-line:rgba(255,255,255,.6);--glass-sh:0 14px 34px -14px rgba(60,40,20,.45),0 2px 6px rgba(60,40,20,.12),inset 0 1px 0 rgba(255,255,255,.7)}
.skin-gallery.mode-night{--glass-bg:rgba(28,30,34,.44);--glass-line:rgba(255,255,255,.12);--glass-sh:0 16px 36px -14px rgba(0,0,0,.8),0 2px 6px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.10)}
.skin-gallery.is-home .site-header{left:14px!important;right:14px!important;width:auto!important;pointer-events:none}
.skin-gallery.is-home .site-header .wrap{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.skin-gallery.is-home .chrome-left,.skin-gallery.is-home .header-tools{pointer-events:auto;transition:opacity .4s ease,transform .5s cubic-bezier(.22,.8,.18,1)}
.skin-gallery.is-home .chrome-left{display:flex;align-items:center;gap:4px;padding:5px 14px 5px 5px;border-radius:999px;background:var(--glass-bg);border:1px solid var(--glass-line);
  -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);box-shadow:var(--glass-sh)}
.skin-gallery.is-home .header-tools{background:var(--glass-bg)!important;border-color:var(--glass-line)!important;box-shadow:var(--glass-sh)!important}
.skin-gallery.is-home .site-header .chrome-left .logo{display:flex!important;align-items:center;gap:8px}
.skin-gallery.is-home .chrome-left .logo-mark{width:30px;height:34px}
.skin-gallery.is-home .chrome-left .logo-word{width:150px;height:26px}
.skin-gallery.is-home .site-header .chrome-left .nav-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:0;
  background:rgba(255,255,255,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.6);color:var(--cap);cursor:pointer}
.skin-gallery.mode-night.is-home .chrome-left .nav-toggle{background:rgba(255,255,255,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.nav-toggle .i-close{display:none}
.nav-toggle[aria-expanded="true"] .i-close{display:block}
.nav-toggle[aria-expanded="true"] .i-menu{display:none}
.skin-gallery.past-hero .chrome-left,.skin-gallery.past-hero .header-tools{opacity:0;transform:translateY(-12px);pointer-events:none}

/* menu sheet: the six sections, big tap targets, nothing else */
.skin-gallery.is-home .site-header .main-nav{display:block!important;position:fixed!important;inset:0!important;top:0!important;bottom:0!important;max-height:none!important;z-index:-1;pointer-events:none;
  border:0!important;border-radius:0!important;padding:84px 18px 24px!important;overflow:auto;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s linear .35s;
  background:rgba(246,240,230,.72)!important;-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}
.skin-gallery.mode-night.is-home .site-header .main-nav{background:rgba(12,13,15,.74)!important}
.skin-gallery.is-home .site-header .main-nav.open{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .35s ease}
.sheet-list{list-style:none;margin:0 auto;padding:0;max-width:520px;display:flex!important;flex-direction:column!important;gap:2px}
.sheet-list a{display:grid!important;grid-template-columns:34px 1fr;align-items:baseline;column-gap:6px;padding:14px 8px!important;border-radius:14px;text-decoration:none;color:var(--cap)!important;white-space:normal!important;
  opacity:0;transform:translateY(10px);transition:opacity .4s ease,transform .5s cubic-bezier(.22,.8,.18,1),background .2s}
.main-nav.open .sheet-list a{opacity:1;transform:none}
.main-nav.open .sheet-list li:nth-child(2) a{transition-delay:.04s}.main-nav.open .sheet-list li:nth-child(3) a{transition-delay:.08s}
.main-nav.open .sheet-list li:nth-child(4) a{transition-delay:.12s}.main-nav.open .sheet-list li:nth-child(5) a{transition-delay:.16s}.main-nav.open .sheet-list li:nth-child(6) a{transition-delay:.2s}
.sheet-list a:hover,.sheet-list a:focus-visible{background:rgba(200,169,126,.14)}
.sheet-list small{grid-row:span 2;font-size:12px;letter-spacing:.2em;color:var(--cap-sub);font-weight:600}
.sheet-list b{font-family:var(--display);font-weight:500;font-size:28px;line-height:1.15}
.sheet-list span{font-size:13px;color:var(--cap-sub);margin-top:2px}
.sheet-foot{max-width:520px;margin:18px auto 0;padding:18px 8px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.sheet-foot .btn{padding:12px 20px}
.sheet-tel{font-weight:600;font-size:14px;color:var(--cap)!important;text-decoration:none}

/* the one contact button: logo + "Nhắn nhu cầu" */
.skin-gallery .support-toggle{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;height:52px!important;padding:0 18px 0 12px!important;border-radius:999px!important}
.support-label{font-size:14px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
.mode-day .support-label{color:#FBF6EC}.mode-night .support-label{color:#121417}
.skin-gallery .support-logo{width:26px!important;height:30px!important;flex:none}

@media (max-width:700px){
  .skin-gallery.is-home .site-header{left:10px!important;right:10px!important}
  .skin-gallery.is-home .chrome-left{padding:4px 10px 4px 4px}
  .skin-gallery.is-home .chrome-left .logo-word{display:none!important}
  .skin-gallery.is-home .chrome-left .logo-mark{width:26px;height:30px}
  .skin-gallery.is-home .header-tools .lang-switch a{padding:7px 9px!important}
  .skin-gallery .cor .hero-intro{top:72px!important}
  .skin-gallery.is-home .cor .hero-caption{bottom:92px!important}
  .skin-gallery.is-home .support{right:12px!important;bottom:20px!important}
  .skin-gallery .support-toggle{height:50px!important}
}
@media (max-width:360px){.skin-gallery.is-home .header-tools .mode-toggle{width:34px;height:34px}.skin-gallery.is-home .header-tools .lang-switch a{padding:6px 7px!important;font-size:12px}}
.skin-gallery.is-home .site-header .header-tools{flex:none!important;justify-content:flex-start!important}
.sheet-foot .btn-primary{color:#FBF6EC!important;background:#5A3A22!important;border-color:#5A3A22!important}
.mode-night .sheet-foot .btn-primary{color:#121417!important;background:#C8A97E!important;border-color:#C8A97E!important}
.support-panel .support-form{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;text-decoration:none;font-weight:600}
@media (min-width:701px){.skin-gallery .cor .hero-intro{top:88px!important}.skin-gallery .cor .hero-caption .cor-hint{margin-right:190px}}
@media (min-width:701px){.cor-world{top:49%}}
