:root {
  --paper: #f7f7f5;
  --ink: #20201d;
  --muted: #77766f;
  --rule: #d9d8d1;
  --art-bg: #dedede;
  --side: clamp(20px, 4.2vw, 64px);
  --content: 1440px;
  --sans: "ITC Avant Garde Gothic", "ITC Avant Garde", "AvantGarde Gothic", "Century Gothic", "Arial", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --nav-height: 68px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Intro mask: the site opens outward from a centered wordmark. */
@property --reveal-radius { syntax: "<length>"; inherits: false; initial-value: 0px; }
.intro-overlay {
  --reveal-radius: 0px;
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--paper); color: var(--ink); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, transparent var(--reveal-radius), #000 calc(var(--reveal-radius) + 1px));
  mask-image: radial-gradient(circle at 50% 48%, transparent var(--reveal-radius), #000 calc(var(--reveal-radius) + 1px));
}
.intro-lockup { display: flex; align-items: center; justify-content: center; transform-origin: center; }
.intro-wordmark { font-family: var(--sans); font-size: clamp(28px, 3.2vw, 40px); line-height: 1; font-weight: 650; letter-spacing: -.075em; }
.intro-logo-image { display: block; width: auto; height: auto; max-width: min(240px, 58vw); max-height: 120px; object-fit: contain; }
.intro-enabled .intro-lockup { animation: logo-hold 1.38s ease both; }
.intro-enabled .intro-overlay { animation: open-from-center 1.3s cubic-bezier(.76,0,.24,1) .46s both; }
@keyframes logo-hold { 0%, 52% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
@keyframes open-from-center { from { --reveal-radius: 0px; opacity: 1; } to { --reveal-radius: 180vmax; opacity: 0; } }

.site-nav {
  position: sticky; top: 0; z-index: 100; min-height: var(--nav-height); width: 100%;
  display: grid; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); align-items: center; gap: 24px;
  padding: 0 var(--side); border-bottom: 1px solid rgba(32,32,29,.12);
  background: rgba(244,243,239,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-brand { justify-self: start; font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: -.07em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a { font-size: 13px; font-weight: 500; letter-spacing: -.015em; transition: opacity .2s; }
.main-nav a:hover { opacity: .55; }
.social-icons { display: flex; align-items: center; gap: 16px; }
.nav-socials { justify-self: end; }
.social-link { display: inline-grid; place-items: center; width: 28px; height: 28px; opacity: .85; border-radius: 50%; transition: opacity .2s, background .2s, transform .2s; }
.social-link:hover { opacity: 1; background: rgba(32,32,29,.07); transform: translateY(-1px); }
.brand-icon-wrap { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; color: var(--ink); }
.brand-icon { width: 18px; height: 18px; object-fit: contain; }
.brand-icon-fallback { display: block; width: 18px; height: 18px; color: var(--ink); }
.icon-fallback { display: inline-grid; place-items: center; }

.hero { min-height: clamp(390px, 55vw, 670px); position: relative; overflow: hidden; background: var(--art-bg); display: flex; flex-direction: column; justify-content: space-between; }
.hero-art-frame { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.hero-art { width: min(100%, 650px); height: 100%; max-height: 670px; object-fit: contain; }
.hero-bottomline { position: absolute; left: var(--side); right: var(--side); bottom: 22px; display: flex; align-items: baseline; gap: 15px; z-index: 2; }
.micro-label { font-size: 10px; font-weight: 600; color: #6e6c66; letter-spacing: .1em; }
.hero-release { font-size: 15px; font-weight: 500; }
.release-separator { color: #939188; margin-inline: 5px; }
.hero-jump { margin-left: auto; display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(32,32,29,.28); border-radius: 50%; font-size: 20px; line-height: 1; transition: background .2s, color .2s, transform .2s; }
.hero-jump:hover { background: var(--ink); color: var(--paper); transform: translateY(2px); }

main { width: 100%; }
.section-wide { max-width: var(--content); margin-inline: auto; padding-inline: var(--side); }
.profile { min-height: 420px; display: grid; grid-template-columns: 1fr minmax(230px, 350px); align-items: center; gap: clamp(36px, 10vw, 150px); padding-top: clamp(84px, 12vw, 158px); padding-bottom: clamp(80px, 10vw, 140px); }
.profile-copy { max-width: 460px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; }
.profile h1 { margin: 0 0 16px; font-weight: 700; font-size: clamp(42px, 5.2vw, 66px); line-height: .95; letter-spacing: -.08em; }
.profile-role { margin: 0; color: #66655f; font-size: 14px; line-height: 1.6; letter-spacing: -.015em; }
.profile-image { width: 100%; position: relative; align-self: center; background: var(--art-bg); overflow: hidden; }
.profile-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.profile-image:hover img { transform: scale(1.025); }
.image-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0 0; font-size: 13px; font-weight: 600; }
.image-caption span:last-child { color: var(--muted); font-size: 12px; font-weight: 400; }

.portfolio { padding-top: 4px; padding-bottom: clamp(82px, 11vw, 146px); }
.section-heading { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; font-weight: 650; letter-spacing: -.045em; margin: 0; }
.count { font-size: 12px; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.work-card { display: block; min-width: 0; }
.work-image-wrap { aspect-ratio: 1 / 1; overflow: hidden; background: #e2e0dc; }
.work-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.work-card:hover .work-image-wrap img { transform: scale(1.035); opacity: .92; }
.work-meta { padding: 12px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.work-title { font-size: 15px; line-height: 1.3; margin: 0; font-weight: 600; letter-spacing: -.025em; }
.work-subtitle { color: var(--muted); font-size: 12px; line-height: 1.4; }
.show-all-wrap { display: flex; justify-content: center; padding-top: 28px; }
.show-all { border: 1px solid #a7a49e; border-radius: 2px; background: transparent; padding: 10px 18px; font-size: 12px; font-weight: 500; cursor: pointer; transition: color .2s, background .2s; }
.show-all:hover { background: var(--ink); color: var(--paper); }

.links { padding-bottom: clamp(72px, 9vw, 112px); }
.link-cloud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 6px 0; }
.link-card { min-height: 66px; display: flex; align-items: center; gap: 13px; padding: 15px 16px; border: 1px solid var(--rule); border-radius: 3px; font-size: 14px; font-weight: 550; transition: background .2s, border-color .2s, transform .2s; }
.link-card .brand-icon-wrap { width: 22px; height: 22px; }
.link-card .brand-icon, .link-card .brand-icon-fallback { width: 20px; height: 20px; }
.link-card .link-arrow { margin-left: auto; color: var(--muted); font-size: 15px; }
.link-card:hover { background: rgba(32,32,29,.035); border-color: #bcbab2; transform: translateY(-2px); }

.site-footer { display: flex; flex-direction: column; align-items: center; gap: 15px; border-top: 1px solid var(--rule); padding: 26px var(--side) 28px; }
.footer-name { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.06em; }
.footer-socials { justify-content: center; gap: 14px; }
.footer-socials .social-link { width: 32px; height: 32px; }
.footer-socials .brand-icon-wrap { width: 21px; height: 21px; }
.footer-socials .brand-icon, .footer-socials .brand-icon-fallback { width: 19px; height: 19px; }
.copyright { color: #77766f; font-size: 11px; line-height: 1.5; letter-spacing: .01em; }

@media (min-width: 1600px) { .hero { min-height: 680px; } }
@media (max-width: 900px) {
  .site-nav { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .main-nav { grid-row: 2; grid-column: 1 / 2; justify-content: flex-start; padding-bottom: 13px; }
  .nav-socials { grid-row: 1 / 3; grid-column: 2; }
  .site-nav { padding-block: 13px 0; }
  .profile { grid-template-columns: minmax(0, 1fr) minmax(200px, 280px); gap: 44px; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .link-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  :root { --nav-height: 82px; }
  .site-nav { gap: 8px 10px; padding-inline: 18px; }
  .nav-brand { font-size: 19px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 12px; }
  .nav-socials { gap: 7px; }
  .social-link { width: 26px; height: 26px; }
  .brand-icon-wrap { width: 18px; height: 18px; }
  .brand-icon, .brand-icon-fallback { width: 16px; height: 16px; }
  .hero { min-height: min(520px, 76svh); }
  .hero-art { width: 100%; height: 100%; max-height: 500px; }
  .hero-bottomline { bottom: 16px; gap: 10px; }
  .micro-label { font-size: 9px; }
  .hero-release { font-size: 13px; }
  .hero-jump { width: 30px; height: 30px; }
  .profile { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-top: 82px; padding-bottom: 84px; }
  .profile h1 { font-size: 48px; }
  .profile-role { font-size: 14px; }
  .profile-image { width: min(100%, 420px); justify-self: end; }
  .portfolio { padding-bottom: 82px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .work-title { font-size: 14px; }
  .work-subtitle { font-size: 11px; }
  .section-heading { margin-bottom: 18px; }
  .link-cloud { grid-template-columns: 1fr 1fr; gap: 9px; }
  .link-card { min-height: 58px; gap: 9px; padding: 12px 10px; font-size: 13px; }
  .site-footer { padding: 24px 18px 26px; }
  .footer-name { font-size: 18px; }
  .copyright { font-size: 11px; }
}
@media (max-width: 360px) {
  .nav-socials { gap: 3px; }
  .main-nav { gap: 14px; }
  .site-nav { padding-inline: 13px; }
  .link-card { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-overlay { display: none; }
  .intro-enabled .intro-lockup, .intro-enabled .intro-overlay { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
