:root{
  --bg:#08090a;
  --ink:#f2eee6;
  --muted:rgba(242,238,230,.60);
  --line:rgba(242,238,230,.16);
  --paper:#f5f2ea;
  --dark:#111;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
.home{min-height:100vh}

/* ---------- DESKTOP / TABLET LANDSCAPE ---------- */
.first-view{
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(360px,42%) minmax(0,58%);
  border-bottom:1px solid var(--line);
}

.brand-panel{
  min-width:0;
  min-height:100svh;
  padding:clamp(32px,3.6vw,58px);
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
}
.brand-head{display:block}
.badge-image{
  width:clamp(58px,5.3vw,82px);
  aspect-ratio:1;
  border-radius:50%;
  object-fit:cover;
}

/* Weather is a tiny instrument in the top-right corner of the whole room. */
.weather-mini{
  position:absolute;
  z-index:3;
  top:clamp(28px,3vw,50px);
  right:clamp(28px,3.5vw,58px);
  display:grid;
  grid-template-columns:auto auto auto;
  gap:8px;
  align-items:center;
  padding:9px 11px;
  border:1px solid var(--line);
  font-size:9px;
  letter-spacing:.11em;
  white-space:nowrap;
  color:var(--muted);
  background:rgba(8,9,10,.86);
}
.weather-mini strong{font-size:14px;color:var(--ink);font-weight:500;letter-spacing:0}
.weather-mini #weather-icon{font-size:14px;color:var(--ink)}

.brand-copy{
  margin:auto 0;
  padding:clamp(46px,7vh,84px) 0 clamp(36px,5vh,60px);
}
.brand-copy h1{
  margin:0;
  max-width:100%;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(52px,5.3vw,88px);
  font-weight:700;
  line-height:.87;
  letter-spacing:-.052em;
  overflow-wrap:normal;
}
.brand-copy p{
  margin:24px 0 0;
  font-family:Georgia,"Hiragino Mincho ProN","Yu Mincho",serif;
  font-size:clamp(12px,1.05vw,16px);
  letter-spacing:.035em;
  color:rgba(242,238,230,.82);
}
.main-nav{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  margin-bottom:28px;
}
.main-nav a{
  font-size:12px;
  letter-spacing:.17em;
  border-bottom:1px solid transparent;
  transition:.2s ease;
}
.main-nav a:hover,.main-nav a:focus-visible{border-bottom-color:var(--ink);opacity:.72}
.weekly-note{margin:0;color:var(--muted);font-size:8px;letter-spacing:.2em}

.window{
  min-width:0;
  min-height:100svh;
  padding:clamp(84px,10vh,118px) clamp(34px,4vw,66px) clamp(34px,4vw,58px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.window-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
}
.eyebrow{margin:0 0 4px;font-size:8px;letter-spacing:.22em;color:var(--muted)}
/* The large 'Current Exhibition' label was making the room feel like a big institution. */
.window-head h2{display:none}
.counter{margin:0;font-size:10px;letter-spacing:.14em;color:var(--muted)}
.counter span{color:var(--ink)}

.hero-work{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:0;
  max-height:62vh;
  padding:clamp(12px,1.4vw,20px);
  background:rgba(255,255,255,.015);
  overflow:hidden;
  border:1px solid rgba(242,238,230,.10);
}
.hero-work img{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  max-height:58vh;
  object-fit:contain;
  transition:opacity .18s ease;
}
.hero-work img.is-changing{opacity:.15}
.work-meta{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}
.work-title{margin:0;font-family:Georgia,"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(19px,1.7vw,27px)}
.work-copy{margin:4px 0 0;font-size:10px;color:var(--muted)}
.work-controls{display:flex;gap:7px}
.work-controls button{width:34px;height:34px;border:1px solid var(--line);background:transparent;cursor:pointer}
.work-controls button:hover{background:var(--ink);color:var(--bg)}
.thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.thumb{padding:0;border:1px solid transparent;background:transparent;cursor:pointer;opacity:.38;transition:.2s ease;overflow:hidden}
.thumb img{width:100%;height:58px;object-fit:cover}
.thumb:hover,.thumb.is-active{opacity:1;border-color:rgba(242,238,230,.5)}

/* ---------- BELOW THE FIRST VIEW ---------- */
.this-week{
  background:var(--paper);
  color:var(--dark);
  padding:clamp(76px,9vw,140px) clamp(22px,5vw,80px);
  display:grid;
  grid-template-columns:minmax(160px,.35fr) minmax(0,1fr);
  gap:clamp(40px,8vw,120px);
}
.this-week .eyebrow{color:rgba(17,17,17,.45)}
.this-week header h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,78px);line-height:.95}
.this-week ol{list-style:none;margin:0;padding:0;border-top:1px solid rgba(17,17,17,.22)}
.this-week li{display:grid;grid-template-columns:44px minmax(0,.75fr) minmax(220px,1fr);align-items:baseline;gap:20px;padding:24px 0;border-bottom:1px solid rgba(17,17,17,.22)}
.this-week li>span{font-size:10px;color:rgba(17,17,17,.5)}
.this-week li>a{font-family:Georgia,"Hiragino Mincho ProN","Yu Mincho",serif;font-size:clamp(20px,2vw,30px)}
.this-week li p{margin:0;font-size:12px;color:rgba(17,17,17,.55)}
.quiet-link{grid-column:2;justify-self:end;margin-top:12px;font-size:10px;letter-spacing:.18em;border-bottom:1px solid}
.home-footer{background:var(--paper);color:rgba(17,17,17,.48);display:flex;justify-content:space-between;gap:20px;padding:28px clamp(22px,5vw,80px);border-top:1px solid rgba(17,17,17,.18);font-size:9px;letter-spacing:.16em;text-transform:uppercase}

/* ---------- MOBILE: one small room stacked vertically ---------- */
@media(max-width:860px){
  .first-view{display:block;min-height:auto}
  .brand-panel{min-height:auto;border-right:0;border-bottom:1px solid var(--line);padding:22px 20px 30px}
  .badge-image{width:48px}
  .weather-mini{top:20px;right:20px;font-size:8px;padding:7px 8px;gap:6px}
  .weather-mini strong{font-size:12px}
  .brand-copy{margin:0;padding:54px 0 44px}
  .brand-copy h1{font-size:clamp(52px,16vw,72px);line-height:.88}
  .brand-copy p{margin-top:18px;font-size:13px}
  .main-nav{gap:8px;margin-top:0;margin-bottom:22px}
  .main-nav a{font-size:12px}
  .window{min-height:auto;padding:28px 20px 44px;display:flex;gap:15px}
  .window-head h2{display:none}
  .hero-work{max-height:none;height:auto;aspect-ratio:4/5;padding:12px}
  .hero-work img{max-height:none;width:100%;height:100%;object-fit:contain}
  .work-title{font-size:23px}
  .work-copy{font-size:11px;max-width:240px}
  .thumb img{height:auto;aspect-ratio:1;object-fit:cover}
  .this-week{grid-template-columns:1fr;gap:34px;padding:76px 20px 90px}
  .this-week ol{grid-column:1}
  .this-week li{grid-template-columns:32px 1fr;gap:10px 14px;padding:20px 0}
  .this-week li p{grid-column:2;font-size:11px}
  .quiet-link{grid-column:1;justify-self:start}
  .home-footer{padding:24px 20px;display:block}
  .home-footer p{margin:5px 0}
}
@media(max-width:420px){
  .weather-mini #weather-city{max-width:66px;overflow:hidden;text-overflow:ellipsis}
  .hero-work{aspect-ratio:1/1.18}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.hero-work img{transition:none}}

/* PC top: WORK / SHOP are intentionally not part of the public navigation. */
@media (min-width:861px){
  a[href="work.html"],
  a[href="shop.html"]{display:none!important;}
}



/* 2026-08-16 — Kanetaka badge + title hard override */
.badge-image{
  width:150px !important;
  min-width:150px !important;
  max-width:none !important;
  height:150px !important;
  flex:0 0 150px !important;
}
.brand-copy h1{
  font-size:clamp(50px,4.35vw,72px) !important;
  max-width:100% !important;
  overflow:visible !important;
  white-space:normal !important;
}
@media(max-width:860px){
  .badge-image{
    width:96px !important;
    min-width:96px !important;
    height:96px !important;
    flex-basis:96px !important;
  }
}
@media(max-width:420px){
  .badge-image{
    width:92px !important;
    min-width:92px !important;
    height:92px !important;
    flex-basis:92px !important;
  }
}


/* =========================================================
   2026-08-16 FIRST IMPRESSION
   "まずは名前でも覚えて帰ってください"
   Badge + name are the hero. The exhibition is secondary.
   ========================================================= */

.first-view{
  grid-template-columns:minmax(430px,48%) minmax(0,52%) !important;
}

.brand-panel{
  position:relative;
  padding:clamp(34px,4vw,66px) !important;
}

.brand-head{
  min-height:1px;
}

/* Weather remains a small instrument, never the hero. */
.weather-mini{
  top:clamp(28px,3vw,48px) !important;
  right:clamp(28px,3.2vw,52px) !important;
}

.brand-copy{
  margin:auto 0 !important;
  padding:clamp(26px,4vh,46px) 0 clamp(34px,5vh,58px) !important;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.badge-image{
  width:clamp(146px,12vw,188px) !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  flex:none !important;
  margin:0 0 clamp(28px,4vh,42px) 0 !important;
}

.brand-copy h1{
  margin:0 !important;
  font-size:clamp(54px,5vw,78px) !important;
  line-height:.88 !important;
  letter-spacing:-.048em !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow:visible !important;
}

.brand-copy p{
  margin:24px 0 0 !important;
  font-size:clamp(13px,1vw,16px) !important;
}

.main-nav{
  margin-bottom:24px !important;
}

.weekly-note{
  opacity:.72;
}

/* Exhibition window: present, but deliberately quieter than the identity. */
.window{
  padding:clamp(76px,9vh,108px) clamp(36px,4vw,62px) clamp(40px,4vw,58px) !important;
  justify-content:center !important;
}

.window-head{
  justify-content:flex-end !important;
  min-height:16px;
}

.window-head .eyebrow,
.window-head h2{
  display:none !important;
}

.counter{
  font-size:9px !important;
  opacity:.72;
}

.hero-work{
  width:min(88%,720px) !important;
  align-self:center;
  max-height:58vh !important;
  background:rgba(255,255,255,.012) !important;
}

.hero-work img{
  max-height:54vh !important;
}

.work-meta,
.thumbs{
  width:min(88%,720px);
  align-self:center;
}

/* Mobile: the badge/name must still land before the artwork. */
@media(max-width:860px){
  .brand-panel{
    padding:24px 20px 32px !important;
  }

  .brand-copy{
    padding:56px 0 46px !important;
  }

  .badge-image{
    width:118px !important;
    height:auto !important;
    margin-bottom:30px !important;
  }

  .brand-copy h1{
    font-size:clamp(50px,15vw,68px) !important;
    line-height:.88 !important;
  }

  .window{
    padding:26px 20px 44px !important;
  }

  .hero-work,
  .work-meta,
  .thumbs{
    width:100% !important;
  }
}

@media(max-width:420px){
  .badge-image{
    width:112px !important;
  }
}
