﻿*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --black:#111;--white:#fff;--border:#e2e2e2;--muted:#777;
  --fh:'Barlow Condensed',sans-serif;
  --fb:'Barlow',sans-serif;
  --fs:'Playfair Display',serif;
}
html{scroll-behavior:smooth}
body{background:var(--white);color:var(--black);font-family:var(--fb);overflow-x:hidden}

/* NAVBAR */
.navbar{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 48px;height:64px;background:rgba(255,255,255,0.97);border-bottom:1px solid var(--border);}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--black)}
.logo-icon svg{width:36px;height:36px}
.logo-text{font-family:var(--fh);font-size:1.2rem;color:var(--black);font-weight:400}
.logo-text strong{font-weight:900}
.nav-links{display:flex;gap:40px}
.nav-links a{font-family:var(--fb);font-size:0.82rem;letter-spacing:0.1em;color:var(--muted);text-decoration:none;transition:color 0.2s;position:relative;padding-bottom:4px}
.nav-links a:hover,.nav-links a.active{color:var(--black)}
.nav-links a.active::after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:2px;background:var(--black)}

/* HERO */
.w-hero{
  padding-top:64px;
  min-height:52vh;
  display:grid;
  grid-template-columns:1fr 1fr 72px;
  align-items:center;
  border-bottom:1px solid var(--border);
  position:relative;
  overflow:hidden;
}
.w-hero-left{padding:52px 32px 52px 80px}
.w-small-label{font-family:var(--fs);font-size:0.82rem;color:var(--muted);margin-bottom:10px;font-style:italic}
.w-title{
  font-family:var(--fs);
  font-size:clamp(3.5rem,6vw,5.5rem);
  font-weight:700;
  letter-spacing:0.04em;
  line-height:1;
  color:var(--black);
  margin-bottom:18px;
}
.w-divider{width:44px;height:2px;background:var(--black);margin-bottom:22px}
.w-desc{font-size:0.72rem;letter-spacing:0.1em;line-height:2;color:var(--muted);font-family:var(--fb);font-weight:400;text-transform:uppercase}
.w-hero-right{
  display:flex;align-items:flex-end;justify-content:center;
  height:100%;padding:20px 0 0;
  position:relative;
}
.w-hero-img{
  width:100%;max-width:340px;height:auto;
  object-fit:contain;
  filter:contrast(1.1) grayscale(0.05);
  display:block;
  pointer-events:none;
}
/* Kanji right column */
.w-kanji-col{
  display:flex;flex-direction:column;align-items:center;
  padding:20px 0;height:100%;
  border-left:1px solid var(--border);
}
.w-vert-line-top{width:1px;flex:1;background:var(--border);max-height:40px}
.w-kanji-chars{
  font-family:var(--fs);font-size:0.75rem;color:var(--muted);
  writing-mode:vertical-rl;text-orientation:mixed;
  letter-spacing:0.2em;line-height:2;text-align:center;
  padding:12px 0;
}
.w-vert-line-bot{width:1px;flex:1;background:var(--border);max-height:40px}
.w-kanji-box{
  width:36px;height:36px;border:1.5px solid var(--black);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--fs);font-size:1.1rem;font-weight:700;
  margin:10px 0 16px;
}

/* FILTER */
.w-filter{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 80px;border-bottom:1px solid var(--border);
}
.w-tabs{display:flex}
.w-tab{
  background:none;border:none;cursor:pointer;
  font-family:var(--fb);font-size:0.75rem;font-weight:500;
  color:var(--muted);padding:16px 18px;
  border-bottom:2px solid transparent;
  transition:color 0.2s,border-color 0.2s;
  letter-spacing:0.07em;
}
.w-tab:hover{color:var(--black)}
.w-tab.active{color:var(--black);border-bottom-color:var(--black)}
.w-view-all{font-size:0.75rem;color:var(--muted);text-decoration:none;letter-spacing:0.08em;transition:color 0.2s}
.w-view-all:hover{color:var(--black)}

/* GRID */
.w-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin:28px 80px;
  border:1px solid var(--border);
  border-radius:4px;
  overflow:hidden;
}
.w-card{
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
  cursor:pointer;
  transition:box-shadow 0.25s,transform 0.2s;
  background:var(--white);
  overflow:hidden;
}
.w-card:nth-child(3n){border-right:none}
.w-card:nth-last-child(-n+3){border-bottom:none}
.w-card:hover{box-shadow:0 8px 28px rgba(0,0,0,0.1);transform:translateY(-2px);z-index:1;position:relative}

/* Thumbnails */
.w-thumb{height:185px;position:relative;overflow:hiddenoverflow:hidden;}
.wt-dark{background:#111}
.wt-light{background:#f4f4f4}
.wt-content{position:absolute;inset:0;padding:16px 18px;display:flex;flex-direction:column}
.wt-tag{font-family:var(--fh);font-size:0.6rem;letter-spacing:0.15em;color:rgba(255,255,255,0.4);margin-bottom:4px}
.wt-tag.dark{color:rgba(0,0,0,0.3)}
.wt-dots{display:flex;gap:4px;margin-bottom:auto}
.wt-dots span{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,0.25)}
.wt-dots.dark span{background:rgba(0,0,0,0.2)}
.wt-headline{
  font-family:var(--fh);font-size:1.05rem;font-weight:800;
  color:#fff;line-height:1.2;letter-spacing:0.02em;
  text-transform:uppercase;margin-top:auto;position:relative;z-index:2;
}
.wt-headline.dark{color:#111}
.wt-headline.small{font-size:0.85rem}
.wt-headline.serif{font-family:var(--fs);font-size:1.1rem;font-weight:700;text-transform:none;letter-spacing:0}
.wt-headline.serif-light{font-family:var(--fs);font-size:1.1rem;font-weight:700;text-transform:none;letter-spacing:0;color:#fff}

/* Thumbnail decorative image blocks */
.wt-img-block{position:absolute;z-index:1}
.wt-slash{
  right:0;top:0;bottom:0;width:48%;
  background:linear-gradient(135deg,transparent 35%,rgba(255,255,255,0.07) 100%);
  clip-path:polygon(25% 0%,100% 0%,100% 100%,0% 100%);
}
.wt-arch{
  right:18px;bottom:0;width:52px;height:80px;
  background:#c8c8c8;border-radius:26px 26px 0 0;
}
.wt-orb{
  right:20px;top:50%;transform:translateY(-50%);
  width:62px;height:62px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.03) 60%,transparent 100%);
  border:1px solid rgba(255,255,255,0.15);
  box-shadow:0 0 20px rgba(255,255,255,0.08);
}
.wt-mountain{
  right:14px;bottom:0;width:72px;height:72px;
  background:linear-gradient(160deg,#b8b8b8,#d8d8d8);
  clip-path:polygon(50% 0%,100% 100%,0% 100%);
}
.wt-figure{
  right:16px;bottom:0;width:55px;height:90px;
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(255,255,255,0.04));
  border-radius:28px 28px 0 0;
}
.wt-vase{
  right:24px;top:50%;transform:translateY(-50%);
  width:34px;height:62px;
  background:#c8c8c8;
  border-radius:4px 4px 10px 10px;
}

/* Card meta */
.w-meta{
  display:flex;align-items:center;gap:10px;
  padding:12px 16px;
  border-top:1px solid var(--border);
  background:var(--white);
}
.w-num{font-family:var(--fh);font-size:0.68rem;color:#bbb;font-weight:600;min-width:18px}
.w-info{flex:1}
.w-info h3{font-family:var(--fh);font-size:0.82rem;font-weight:800;letter-spacing:0.07em;color:var(--black);margin-bottom:2px}
.w-info span{font-size:0.67rem;color:var(--muted);letter-spacing:0.08em}
.w-arr{color:var(--black);text-decoration:none;font-size:0.9rem;transition:transform 0.2s;display:inline-block}
.w-card:hover .w-arr{transform:translateX(4px)}

/* CTA */
.w-cta{
  margin:0 80px 32px;
  border:1px solid var(--border);
  border-radius:4px;
  display:grid;
  grid-template-columns:260px 1fr 140px;
  overflow:hidden;
  min-height:200px;
}
.w-cta-left{background:#f0f0f0;position:relative;overflow:hidden;display:flex;align-items:flex-end}
.w-ink-svg{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.w-cta-mid{
  padding:40px 52px;
  display:flex;flex-direction:column;justify-content:center;gap:14px;
  border-left:1px solid var(--border);border-right:1px solid var(--border);
}
.w-cta-title{
  font-family:var(--fs);
  font-size:clamp(1.8rem,2.8vw,2.5rem);
  font-weight:700;line-height:1.1;
  letter-spacing:0.04em;color:var(--black);
}
.w-cta-divider{width:32px;height:1.5px;background:var(--black)}
.w-cta-sub{font-size:0.72rem;letter-spacing:0.1em;color:var(--muted);line-height:1.9;text-transform:uppercase}
.w-cta-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:11px 22px;background:var(--black);color:var(--white);
  font-size:0.75rem;letter-spacing:0.1em;text-decoration:none;
  border-radius:3px;width:fit-content;transition:opacity 0.2s;
}
.w-cta-btn:hover{opacity:0.75}
.w-cta-right{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  background:#fafafa;padding:20px;
}
.w-big-kanji{font-family:var(--fs);font-size:5rem;font-weight:700;color:var(--black);line-height:1}
.w-small-kanji-box{
  font-family:var(--fs);font-size:0.7rem;color:var(--muted);
  border:1px solid var(--border);padding:3px 6px;letter-spacing:0.1em;
}

/* FOOTER */
.w-footer{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 80px;border-top:1px solid var(--border);
  font-size:0.7rem;letter-spacing:0.1em;color:var(--muted);
}
.w-footer-links{display:flex;gap:24px}
.w-footer-links a{color:var(--muted);text-decoration:none;transition:color 0.2s}
.w-footer-links a:hover{color:var(--black)}

/* RESPONSIVE */
@media(max-width:1024px){
  .w-hero{grid-template-columns:1fr 1fr;}.w-kanji-col{display:none}
  .w-hero-left{padding:40px 24px 40px 40px}
  .w-grid{grid-template-columns:repeat(2,1fr);margin:24px}
  .w-filter{padding:0 24px}
  .w-cta{grid-template-columns:1fr;margin:0 24px 24px}
  .w-cta-left{height:160px}
  .w-cta-right{padding:24px;flex-direction:row;gap:16px}
  .w-footer{padding:18px 24px;flex-direction:column;gap:10px;text-align:center}
}
@media(max-width:640px){
  .w-grid{grid-template-columns:1fr;margin:16px}
  .w-hero{grid-template-columns:1fr}
  .w-hero-right{display:none}
  .w-hero-left{padding:36px 20px}
  .w-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .w-tab{padding:14px 12px;font-size:0.7rem;white-space:nowrap}
  .navbar{padding:0 20px}
  .w-card:nth-child(3n){border-right:1px solid var(--border)}
  .w-card:nth-last-child(-n+3){border-bottom:1px solid var(--border)}
  .w-card:last-child{border-bottom:none}
}

@keyframes cardPop {
  0%  { opacity:0; transform:translateY(20px) scale(0.96); }
  100%{ opacity:1; transform:translateY(0) scale(1); }
}
.card-pop { animation: cardPop 0.4s cubic-bezier(.34,1.56,.64,1) both; }
.w-card { transition: box-shadow 0.25s ease, transform 0.3s cubic-bezier(.34,1.56,.64,1) !important; }
.w-card:hover { transform: translateY(-6px) scale(1.01) !important; box-shadow: 0 12px 36px rgba(0,0,0,0.12) !important; }

