/* Desktop frames 270:355 / 270:407 / 270:422. Mobile rules remain in home.css.
   Original fixed artwork is supplied by the reviewed desktop asset manifest, never Figma URLs. */
.desktop-original,.desktop-original-picture,.desktop-home-hero-decoration,.desktop-home-brand-decoration,
.home-brand-desktop-text,.desktop-footer-navigation,.desktop-footer-brand{display:none}
@media(min-width:1024px){
  :root{--home-radius:24px;--home-gap:32px}
  body[data-tw-home]{width:100%;max-width:none;background:#faf8f3}
  body[data-tw-home]::before{background:none}
  body[data-home-desktop-originals="ready"]::before{background:url('desktop-home-background-b1714.png') center top/1920px auto repeat-y;filter:blur(30px)}
  body[data-home-desktop-originals="ready"]::after{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:url('desktop-home-background-2d67c.png') center top/1038px auto repeat-y}
  .desktop-original{display:block;max-width:none;pointer-events:none;user-select:none}.desktop-original-picture{display:contents}
  .home-header{width:calc(100% - 64px);max-width:1200px;height:90px;padding:0;gap:40px;position:relative;z-index:20;align-items:center}
  .home-logo{transform:none}.home-logo>img:not(.desktop-header-logo){display:none}
  .home-logo .desktop-header-logo{width:279px;height:36px;object-fit:contain}
  .home-desktop-nav{display:flex;align-items:center;gap:32px;min-width:0;font-size:24px;line-height:48px}
  .home-desktop-nav>a,.home-desktop-nav summary{position:relative;white-space:nowrap}
  .home-desktop-nav [aria-current="page"],.home-desktop-nav .desktop-nav-current-parent{color:#783333}
  .desktop-nav-label{display:block;position:relative}
  .home-desktop-nav>a[aria-current="page"]>.desktop-nav-label::after,.home-desktop-nav summary>a[aria-current="page"]>.desktop-nav-label::after,.home-desktop-nav summary.desktop-nav-current-parent>.desktop-nav-label::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:.8px;background:currentColor}
  .home-desktop-nav details{position:relative}.home-desktop-nav summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
  .home-desktop-nav summary::-webkit-details-marker{display:none}.desktop-nav-chevron{display:block;flex:none;width:8px;height:5px;background:currentColor;-webkit-mask:url('desktop-nav-chevron-d3b81.svg') center/contain no-repeat;mask:url('desktop-nav-chevron-d3b81.svg') center/contain no-repeat;transition:transform .15s}
  .desktop-nav-chevron>.desktop-original-picture{visibility:hidden}
  .home-desktop-nav details[open] .desktop-nav-chevron{transform:rotate(180deg)}
  /* Figma400:1100/1124/1152: panel spacing follows the original; height grows with actual links. */
  .desktop-nav-submenu{position:absolute;top:calc(100% + 8px);left:-24px;min-width:224px;max-width:min(360px,70vw);padding:24px;background:#fff;border-radius:12px;box-shadow:0 8px 12px rgba(77,46,26,.07);display:grid;gap:12px;font-size:18px;line-height:36px;white-space:normal}
  /* The first fixed navigation group is Gallery; its original floating paper has a20px radius. */
  .home-desktop-nav>details:first-of-type>.desktop-nav-submenu{border-radius:20px;box-shadow:0 6px 9px rgba(30,25,18,.06)}
  /* Bridge the existing8px gap so the pointer can enter the floating menu. */
  .desktop-nav-submenu::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
  .home-desktop-nav details:last-child .desktop-nav-submenu{left:auto;right:0}.desktop-nav-submenu a{display:block;overflow-wrap:anywhere}
  .home-menu-toggle,.home-navigation-fallback{display:none!important}
  .home-main,.home-main.mobile-main{width:calc(100% - 64px);max-width:1200px;margin:0 auto 24px}.home-main.mobile-main{gap:32px}
  .home-top-grid,.home-content-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;margin-bottom:32px}
  .home-card{border-radius:24px}.home-title{font-size:32px;line-height:64px;font-weight:400}
  .home-english{font-size:24px;line-height:48px;letter-spacing:2px}.home-eyebrow{font-size:16px;line-height:32px;letter-spacing:1px}
  .home-action{min-width:158px;min-height:44px;padding:9px 21px 9px 24px;gap:29px;font-size:18px;line-height:26px}
  .home-action>.home-icon,.home-more>.home-icon{display:none}
  .home-more{width:136px;min-height:32px;font-size:24px;line-height:32px}
  .home-brand .home-more,.home-featured>.home-more{position:relative;display:block;height:32px;line-height:48px;border-bottom-width:.8px}
  .home-brand .home-more>.home-more-label,.home-featured>.home-more>.home-more-label{position:relative;left:10.02px;top:-7.88px;display:block;width:112px;min-width:112px;padding:0;white-space:nowrap;overflow-wrap:normal;text-align:left;flex:none}
  .home-brand .home-more>.desktop-original-picture>[data-desktop-original="desktop-home-more-arrow-facee.svg"],.home-featured>.home-more>.desktop-original-picture>[data-desktop-original="desktop-home-more-arrow-facee.svg"]{position:absolute;left:113.5028px;top:2px;margin:0}
  .home-hero{min-height:500px;padding:31px 38px 78px;overflow:hidden}
  .home-slide{min-height:391px;position:relative;isolation:isolate}
  .home-hero-copy{width:37.011%;min-width:0;min-height:275px;z-index:2}
  .home-hero-date{font-size:16px;line-height:32px;letter-spacing:1px;margin:0 0 21px;overflow-wrap:anywhere}
  .home-hero .home-title{font-size:48px;line-height:96px}.home-hero-english{font-size:29px;line-height:58px;letter-spacing:3px;margin-top:-25px}
  .home-hero-intro{width:100%;max-width:none;font-size:18px;line-height:36px;margin-top:21px;color:var(--home-text)}
  .home-hero-decoration{display:none}.desktop-home-hero-decoration{display:block;position:absolute;inset:0;pointer-events:none;z-index:1}
  .desktop-home-hero-decoration>.desktop-original{position:absolute;left:0;top:0}
  .home-hero-visual{position:absolute;inset:-31px -38px -78px;margin:0;aspect-ratio:auto;z-index:0;mask-image:none;-webkit-mask-image:none}
  body[data-home-desktop-originals="ready"] .home-hero-visual{mask-image:url('desktop-home-hero-mask-d1afb.svg');-webkit-mask-image:url('desktop-home-hero-mask-d1afb.svg');mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
  body[data-home-desktop-originals="pending"] .home-hero-visual{visibility:hidden}
  .home-hero-visual .home-media{width:74.0833%;margin-left:25.9167%}
  .home-hero-visual .home-picture img{mask-image:none;-webkit-mask-image:none;object-fit:cover;object-position:center}
  .home-hero-action{justify-content:flex-start;margin:72px 0 0;min-height:44px;z-index:2}
  .home-carousel-navigation{left:38px;right:38px;bottom:19px}.home-carousel-dots{max-width:calc(100% - 120px);gap:10px}
  .home-carousel-dots button{width:11px;height:30px}.home-carousel-dots button span{width:11px;height:6px}.home-carousel-arrows{display:none}
  .home-hero .home-carousel-dots button>span{display:none}.home-hero .home-carousel-dots [aria-current="true"] .desktop-dot-inactive,.home-hero .home-carousel-dots [aria-current="false"] .desktop-dot-active{display:none}
  .home-brand{min-height:397px;padding:26px 42px 44px;text-align:center;overflow:visible;margin-bottom:0;isolation:isolate}
  .home-brand::before{border-radius:24px}.home-brand-decoration-clip,.home-brand-text{display:none}
  .home-brand .home-title{font-size:32px;line-height:64px}.home-brand>.home-english{margin-top:-7px}
  .home-brand-desktop-text{display:block;position:relative;z-index:1;font-size:18px;line-height:36px;margin:32px auto 0;max-width:1124px}
  .home-brand .home-more{margin:50px auto 0;position:relative;z-index:1;align-self:center;width:136px}
  .home-brand .home-more-label,.home-featured>.home-more>.home-more-label{width:112px;flex:none;margin-left:0}
  /* Without JS the decoration is safely clipped to the card. With measured
     widths it can leave the card, but cannot widen the actual page. */
  .home-brand>.desktop-home-brand-decoration{display:block;position:absolute;inset:0 auto 0 calc((100% - var(--desktop-page-width,100%))/2);width:var(--desktop-page-width,100%);pointer-events:none;z-index:0;overflow-x:clip;overflow-y:visible}
  .desktop-home-brand-silk{display:block;position:absolute;left:calc(50% - 700px);top:160px}
  .desktop-home-brand-silk.silk-2{left:calc(50% - 694.316px);top:164.537px}
  .desktop-home-brand-silk.silk-3{left:calc(50% - 683.986px);top:173.487px}
  .desktop-home-brand-silk.silk-4{left:calc(50% - 679.352px);top:177.906px}
  .desktop-home-brand-silk.silk-5{left:calc(50% - 671.192px);top:186.617px}
  .desktop-home-brand-silk.silk-6{left:calc(50% - 664.403px);top:195.161px}
  .desktop-home-brand-silk.silk-7{left:calc(50% - 661.504px);top:199.373px}
  .desktop-home-brand-silk.silk-8{left:calc(50% - 620.162px);top:235.593px}
  .desktop-home-brand-silk.silk-9{left:calc(50% - 608.124px);top:245.981px}
  .desktop-home-brand-silk.silk-10{left:calc(50% - 596.453px);top:256.341px}
  .desktop-home-brand-silk.silk-11{left:calc(50% - 585.07px);top:266.707px}
  .desktop-home-brand-silk.silk-12{left:calc(50% - 573.921px);top:277.041px}
  .desktop-home-brand-silk.silk-13{left:calc(50% - 568.419px);top:282.202px}
  .desktop-home-brand-orbit{position:absolute;left:calc(380px + var(--desktop-page-gutter,0px));top:-10.88px}
  .home-exhibitions{padding:21px 32px 35px}.home-section-heading{min-height:78px;gap:16px;align-items:baseline}
  .home-exhibition-track{display:flex;gap:25px;overflow-x:auto;padding:0;margin:0;scroll-snap-type:x mandatory}
  .home-exhibition-track>li{min-width:0;max-width:none;width:auto;height:auto;aspect-ratio:3/4;flex:0 0 calc((100% - 25px)/2)}.home-exhibition-track a{display:block}
  .home-exhibition-track img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}
  .home-exhibitions .home-section-action{margin-top:34px;justify-content:flex-end}.home-exhibition-controls{display:none}
  .home-featured{padding:21px 32px 35px}.home-featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;gap:16px;margin:0}
  .home-featured-slot{min-width:0;aspect-ratio:272/362;border-radius:10px;overflow:hidden}.home-featured-slot>a{height:100%;display:block}
  .home-featured-slot:first-child{grid-row:auto}.home-featured-slot:nth-child(3){height:auto;align-self:stretch}.home-featured-slot:nth-child(4){grid-column:auto}
  .home-featured .home-media,.home-featured .home-picture{height:100%;aspect-ratio:auto}.home-featured .home-picture img{object-fit:cover}
  .home-featured>.home-more{display:block;margin:35px 0 0 auto;width:136px;align-self:flex-end}
  .for-mobile{display:none!important}.for-desktop{display:grid}.missing-desktop .home-picture{visibility:hidden}.missing-mobile:not(.missing-desktop) .home-picture{visibility:visible}
  .home-footer{min-height:252px;padding:40px 14% 30px 8.3333%;display:grid;grid-template-columns:150px 238px minmax(0,1fr) 90px;column-gap:26px;row-gap:0;position:relative}
  .desktop-footer-navigation{display:block;grid-column:1;grid-row:1/3}.desktop-footer-navigation>a{display:block;font-size:12px;line-height:22px;color:var(--home-muted)}
  .home-footer h2,.mobile-main .home-footer h2{font-family:"Taraswish Noto Serif SC",serif;font-size:15px;line-height:26px;font-weight:400;color:var(--home-text);margin:0 0 10px}
  .home-footer-columns{display:contents}.home-footer-columns>div:first-child{grid-column:2;grid-row:1}.home-footer-columns>div:nth-child(2){grid-column:3;grid-row:1/3}
  .home-socials .home-icon{display:none}
  .home-footer p,.home-footer-link{font-size:12px;line-height:24px}.home-footer p+p,.home-footer-columns>div:nth-child(2)>p{margin-top:-2px}.desktop-footer-navigation>a{line-height:24px}.desktop-footer-navigation>a+a{margin-top:-2px}.home-socials{grid-column:2;grid-row:2;justify-content:flex-start;margin:6px 0 0;align-self:start;gap:16px}
  .desktop-footer-brand{display:block;grid-column:4;grid-row:1/4;align-self:start}.desktop-footer-brand img{width:90px;height:168px;object-fit:contain}
  .home-footer .home-copyright{grid-column:1/4;grid-row:3;margin-top:38px;max-width:830px;color:var(--home-text);font-size:12px;line-height:24px;text-align:left}
  .home-preview-note{font-size:12px;max-width:1200px;margin:20px auto;padding:8px 16px;position:relative}
}
@media(min-width:1024px) and (max-width:1279px){
  .home-header,.home-main,.home-main.mobile-main{width:calc(100% - 48px)}.home-header{gap:24px}.home-desktop-nav{gap:20px;font-size:21px}
  .home-logo .desktop-header-logo{width:235px;height:auto}.home-hero-copy{width:40%}.home-hero-date{font-size:14px}
  .home-footer{padding-left:40px;padding-right:40px;grid-template-columns:120px 215px minmax(0,1fr) 90px;gap:18px}
}
@media(prefers-reduced-motion:reduce){.desktop-nav-chevron{transition:none}}

/* Figma 270:359 / 381:509: 158px homepage actions retain the 29px gap and
   24/21px padding, with one 12px arrow item. Long labels may wrap and grow taller. */
@media(min-width:1024px){
  .home-hero-action>.home-action,.home-exhibitions .home-section-action>.home-action{
    width:158px;min-width:158px;max-width:100%;white-space:normal;overflow-wrap:anywhere;color:#fffdf8;
  }
  .home-hero-action>.home-action>.desktop-original-picture,.home-exhibitions .home-section-action>.home-action>.desktop-original-picture{
    display:block;flex:0 0 12px;width:12px;height:12px;
  }
}

/* Owner-requested navigation rhythm and centered homepage links, 2026-11-15.
   Main navigation is smaller and farther apart; dropdown text remains separate. */
@media(min-width:1024px){
  .home-desktop-nav{font-size:20px;line-height:40px;gap:44px}
  .home-brand .home-more,.home-featured>.home-more{
    display:flex;align-items:center;justify-content:space-between;gap:6px;height:32px;line-height:32px;
  }
  .home-brand .home-more>.home-more-label,.home-featured>.home-more>.home-more-label{
    position:static;left:auto;top:auto;display:block;width:auto;min-width:0;flex:1;margin:0;padding:0;line-height:32px;text-align:left;
  }
  .home-brand .home-more>.desktop-original-picture>[data-desktop-original="desktop-home-more-arrow-facee.svg"],
  .home-featured>.home-more>.desktop-original-picture>[data-desktop-original="desktop-home-more-arrow-facee.svg"]{
    position:static;left:auto;top:auto;display:block;flex:none;margin:0;transform:none;
  }
}
@media(min-width:1024px) and (max-width:1279px){
  .home-desktop-nav{font-size:18px;line-height:36px;gap:28px}
}
